Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addEvent("wylacz_silnik",true)
- addEventHandler("wylacz_silnik",resourceRoot,
- function(veh)
- if veh and isElement(veh) then
- setVehicleEngineState(veh,false)
- local plr=getVehicleController(veh)
- if plr and isElement(plr) then
- exports["es-komunikaty"]:komunikat("Silnik gaśnie.",plr)
- end
- end
- end
- )
- addEventHandler("onResourceStart",resourceRoot,
- function()
- exports["es-gieldy"]:restartGieldy(root)
- end
- )
Add Comment
Please, Sign In to add comment