Trailerarrow-up-right
Showcasearrow-up-right
BUY HEREarrow-up-right
BUY MAParrow-up-right
Modification of script functions
Simple translation
Put the script in the server and add ensure "script_name" to server.cfg
ensure "script_name"
enjoy...
Death of a player
If a player dies, these two events will be triggered.
Next, the function in client_open.lua will be launched, which will also provide the Ped Id that you can work with.
Last updated 1 month ago
TriggerServerEvent('d-labs-hanging:server:playerDie')
TriggerEvent('d-labs-hanging:client:playerDie', PlayerPedId())
function playerDieByHanging(player) -- print('player .. ', player) end