LUA Plugin for Script Hook V 8.0
Author:
headscript
More details
Author's contacts:
Uploaded:
Size:
610.93 Kb
Uploaded:
Downloads:
2.4K
Total downloads: 2477
Unique downloads: 205
No one has rated the file yet.
-
dfiles.euDownload
Write any LUA Script for GTA5
you are able to use all Natives from NativeDB
Requirements:
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
function 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(PED.IS_PED_IN_ANY_VEHICLE(playerPed, false)) then
local veh = PED.GET_VEHICLE_PED_IS_IN(playerPed,true)
if(get_key_pressed(115)) then
VEHICLE.SET_VEHICLE_FORWARD_SPEED(veh,500)
end
end
end
end
Comments 5