Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Grand Theft Auto (GTA) Hack & Cheats › Grand Theft Auto 5 (GTA V) Hacks & Cheats › LUA Plugin for Script Hook V

Thumbs upLUA Plugin for Script Hook V

Posts 31–45 of 54 · Page 3 of 4
W$
W$^Uasetzh
Quote Originally Posted by Porco Aranha View Post
what you are using in the script, bodyguard coming in the download ?
tried different scripts, right now using one to delete bad sport stuff
however other .asi files are working and do get loaded.. like the Endeavour Mod.

- - - Updated - - -

I got it.. forgot to install Visual Studio 2013 x64 Redist
#31 · 11y ago
sweetmonster
sweetmonster
Is there anyway to reset certain stats? Or perhaps deduct a certain amount from a stat?
#32 · 11y ago
.Zer0
.Zer0
Quote Originally Posted by sweetmonster View Post
Is there anyway to reset certain stats? Or perhaps deduct a certain amount from a stat?
Like what stats are you talking about in specific ?
#33 · 11y ago
SI
Simmoax
Dont laught at me but can someone tell me what this does, is it like it gives you a console where you can type e.g Spawn Adder (i know thats not the code for it :P, just image it is) and them it spawns a adder. Or is it so you can load multiple Mods at the same time like the clear bad sport and e.g a trainer
#34 · 11y ago
pyroblastGTA
pyroblastGTA
wasnt sure which section to put this comment in, but i have a bodyguard script. but the fkers wont shoot when in vehicle? can any1 tell me whts rong or wht i missed

local SWATteam = {}

function SWATteam.tick()
local playerPed = PLAYER.PLAYER_PED_ID()
local player = PLAYER.GET_PLAYER_PED(playerPed)
local playerExists = ENTITY.DOES_ENTITY_EXIST(playerPed)
if(PLAYER.IS_PLAYER_ONLINE() and playerExists) then
if(get_key_pressed(114)) then
local veh = PED.GET_VEHICLE_PED_IS_IN(playerPed,true)
local SWATskinID = GAMEPLAY.GET_HASH_KEY("ig_fbisuit_01")
local coords = ENTITY.GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(play erPed, 0.0, 5.0, 0.0);
STREAMING.REQUEST_MODEL(SWATskinID)
local SWAT = PED.CREATE_PED( 26,SWATskinID,coords.x, coords.y, coords.z,0,false,true)
local group = PLAYER.GET_PLAYER_GROUP(PLAYER.PLAYER_ID());
PED.SET_PED_AS_GROUP_MEMBER(SWAT, group);
AI.TASK_COMBAT_HATED_TARGETS_AROUND_PED(SWAT, 5000, 0);
PED.SET_PED_KEEP_TASK(SWAT, true);
PED.SET_PED_CAN_SWITCH_WEAPON(SWAT,true);
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(SWAT, GAMEPLAY.GET_HASH_KEY("weapon_specialcarbine"), 1000, true);
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(SWAT, GAMEPLAY.GET_HASH_KEY("WEAPON_MICROSMG"), 1000, true);
ENTITY.SET_ENTITY_INVINCIBLE(SWAT, false);

end






end
end

return SWATteam
#35 · 11y ago
.Zer0
.Zer0
Quote Originally Posted by Simmoax View Post
Dont laught at me but can someone tell me what this does, is it like it gives you a console where you can type e.g Spawn Adder (i know thats not the code for it :P, just image it is) and them it spawns a adder. Or is it so you can load multiple Mods at the same time like the clear bad sport and e.g a trainer
This allows you to run custom lua scripts to do pretty much anything which the game lets you do and more ^^
#36 · 11y ago
SI
Simmoax
Quote Originally Posted by .Zer0 View Post
This allows you to run custom lua scripts to do pretty much anything which the game lets you do and more ^^
LUA scripts been like the ones that clears reports .ect, and it it only ones like that or do LUA scipts include ones like the native trainer
#37 · 11y ago
.Zer0
.Zer0
Quote Originally Posted by Simmoax View Post
LUA scripts been like the ones that clears reports .ect, and it it only ones like that or do LUA scipts include ones like the native trainer
I don't quite get what you are trying ot say but yes you could basically do an entire trainer with lua.
#38 · 11y ago
RE
Repentancex1
So how would one call to the clear cheating script he has posted? through the main.lua? I'm completely new at this so I'm not sure what I would write to make this happen.
#39 · 11y ago
Betzu
Betzu
how can open the gui?
#40 · 11y ago
.Zer0
.Zer0
Quote Originally Posted by Repentancex1 View Post
So how would one call to the clear cheating script he has posted? through the main.lua? I'm completely new at this so I'm not sure what I would write to make this happen.
It is way easier then you actually think man ^^

1. Create a lua name it whatever Example : clear_reports.lua
2. Put it into the addins folder
3. Insert this code

Code:
local clear = {}
function clear.unload()
print("Clearing Stats")	
end
function clear.tick()
    local playerPed = PLAYER.PLAYER_PED_ID()
    local player = PLAYER.GET_PLAYER_PED(playerPed)
    local playerExists = ENTITY.DOES_ENTITY_EXIST(playerPed) 
	if(playerExists) then
		if(get_key_pressed(110)) then
			print("Clearing Stats")	
                                STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_1ST_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_2ND_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_3RD_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_4TH_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_5TH_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_6TH_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_7TH_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_8TH_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_9TH_OFFENCE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("BADSPORT_NUMDAYS_10TH_OFFENCE"), 0, true)
				STATS.STAT_SET_FLOAT(GAMEPLAY.GET_HASH_KEY("BADSPORT_RESET_MINUTES"), 1.0, true)
                                STATS.STAT_SET_FLOAT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_OVERALL_BADSPORT"), 0, true)
				STATS.STAT_SET_BOOL(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_CHAR_IS_BADSPORT"), false, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_BECAME_BADSPORT_NUM"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_BAD_SPORT_BITSET"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_CHEAT_BITSET"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_REPORT_STRENGTH"), 32, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_COMMEND_STRENGTH"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_FRIENDLY"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_HELPFUL"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_GRIEFING"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_OFFENSIVE_LANGUAGE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_OFFENSIVE_UGC"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_VC_HATE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_GAME_EXPLOITS"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP0_MPPLY_ISPUNISHED"), 0, true)
                                STATS.STAT_SET_FLOAT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_OVERALL_BADSPORT"), 0, true)
				STATS.STAT_SET_BOOL(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_CHAR_IS_BADSPORT"), false, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_BECAME_BADSPORT_NUM"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_BAD_SPORT_BITSET"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_CHEAT_BITSET"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_REPORT_STRENGTH"), 32, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_COMMEND_STRENGTH"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_FRIENDLY"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_HELPFUL"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_GRIEFING"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_OFFENSIVE_LANGUAGE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_OFFENSIVE_UGC"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_VC_HATE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_GAME_EXPLOITS"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP1_MPPLY_ISPUNISHED"), 0, true)
                                STATS.STAT_SET_FLOAT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_OVERALL_BADSPORT"), 0, true)
				STATS.STAT_SET_BOOL(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_CHAR_IS_BADSPORT"), false, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_BECAME_BADSPORT_NUM"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_BAD_SPORT_BITSET"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_CHEAT_BITSET"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_REPORT_STRENGTH"), 32, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_COMMEND_STRENGTH"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_FRIENDLY"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_HELPFUL"), 100, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_GRIEFING"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_OFFENSIVE_LANGUAGE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_OFFENSIVE_UGC"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_VC_HATE"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_GAME_EXPLOITS"), 0, true)
				STATS.STAT_SET_INT(GAMEPLAY.GET_HASH_KEY("MP2_MPPLY_ISPUNISHED"), 0, true)
		end
	end
end

return clear
4. Start up GTAV.exe
5. Press , on your NUMPAD while in-game
#41 · 11y ago
KA
Kalamity222
an A B C D menu popped up and i dont know how to close it ... i can select the letters and it just spawns zombies and i want to get rid of it >.<
#42 · 11y ago
.Zer0
.Zer0
Quote Originally Posted by Kalamity222 View Post
an A B C D menu popped up and i dont know how to close it ... i can select the letters and it just spawns zombies and i want to get rid of it >.<
Delete The content of The addins folder.
And just put The scripts in you need.
#43 · 11y ago
BL
blazeddd
i am trying it right now.. i put the "Clear cheating reports.lua" in the scripts\addins folder and popped the scripts folder and LUA.asi into the GTA directory. also the two other .dll files used for this. I assumed it would be the same since it's .asi... is there a totally different method I am missing?

also tried making my own lua file with Zer0's post a few above this one.. but that didnt work either.. not sure what im doing wrong.
#44 · 11y ago
.Zer0
.Zer0
Quote Originally Posted by blazeddd View Post
i am trying it right now.. i put the "Clear cheating reports.lua" in the scripts\addins folder and popped the scripts folder and LUA.asi into the GTA directory. also the two other .dll files used for this. I assumed it would be the same since it's .asi... is there a totally different method I am missing?

also tried making my own lua file with Zer0's post a few above this one.. but that didnt work either.. not sure what im doing wrong.
Does the console pop up when in-game ?
#45 · 11y ago
Posts 31–45 of 54 · Page 3 of 4

Post a Reply

Similar Threads

  • need help for ScriptBy chichos in Combat Arms Hacks & Cheats
    17Last post 18y ago
  • ICO (Windows Icon) file format plugin for PhotoshopBy MrVader in Art & Graphic Design
    7Last post 17y ago
  • i need help with the plugin for PhotoshopBy junny2233 in Combat Arms Mod Discussion
    8Last post 16y ago
  • Gift for script kiddiesBy GG2GG in Visual Basic Programming
    2Last post 16y ago
  • [RELEASE]Mod Fixer For Scripts *.gsc_ACEBy ♪~ ᕕ(ᐛ)ᕗ in Call of Duty Modern Warfare 2 Server / GSC Modding
    27Last post 16y ago

Tags for this Thread

#lua#plugin#scripthook.gta v