LUA Plugin for Script Hook V 8.0

Tutoriale, ghiduri de optimizare si suport pentru crearea serverelor.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

LUA Plugin for Script Hook V 8.0

Post by greenie »

Image

https://libertycity.net/files/gta-5/861 ... v-8.0.html#

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


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
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œServer Development”