AddEventHandler("ns_enginesystem:toggleEngine", function(netId, state)
local vehicle = NetworkGetEntityFromNetworkId(netId)
if not DoesEntityExist(vehicle) then
return print('[^1ERROR^7] Unfortunately, this vehicle do not exist.')
end
while not DoesEntityExist(vehicle) do Wait(0) end
print(state)
end)