Plugin for Script Hook V, which allows you to run self-written LUA scripts in GTA 5.
There are two versions in the archive: - Regular/Normal - SDK (console enabled, updated every 10 minutes)
Requires:
- Script Hook V - Visual Studio 2013 x64 Redist
Installation:
- Unzip the archive - Put LUA.asi in GTA 5 directory, same place as ScriptHookV.dll - Place scripts directory in GTA 5 root directory - Place your LUA scripts in the scripts/addins directory - Launch GTA 5
Example:
local basemodule = {} basemodule .GUI = Libs["GUI"] function basemodule.unload()
end function basemodule.giveWeapon(weapon) WEAPON.GIVE_DELAYED_WEAPON_TO_PED(PLAYER.PLAYER_PED_ID(), GAMEPLAY.GEt_HASH_KEY(weapon), 1000, true) end function basemodule.init() bodyguard.GUI.addButton("Give Me RAILGUN",basemodule.giveWeapon,"WEAPON_RAILGUN",0,0.2,0.05,0.05) end function basemodule.tick() basemodule.GUI.tick() end