LUA Plugin for Script Hook V
Current Version: 9.0
Description:
Write any LUA Script for GTA5
you are able to use all Natives from NativeDB
Changelog
Requirements:
Script Hook V
Visual Studio 2013 x64 Redist
Installation Instructions:
Extract LUA.zip
Move the LUA.asi in the GTA5 Folder where the ScriptHookV.dll is located
Place the scripts folder in the GTA 5 Folder
Add any Scripts you want into the scripts/addins folder
Run GTA 5 over Steam or Rockstar Launcher
Example:
Code:
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
return basemodule
Virus Scans:
VirusTotal
Jotti
@Royce
Creds: HeadScript