Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterNetEvent("code")
- AddEventHandler("code", function()
- Citizen.CreateThread(function()
- if IsPedInVehicle(GetPlayerPed(-1), vehicle, false) == false then
- print("You Are Not In A Vehicle")
- return;
- end
- local playerVehicle = GetVehiclePedIsIn(GetPlayerPed(-1), false)
- if IsVehicleSirenOn(playerVehicle) == true then
- print("Off")
- SetVehicleSiren(playerVehicle, toggle)
- else
- print("On")
- SetVehicleSiren(playerVehicle, toggle)
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment