Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Citizen.CreateThread(function()
- while true do
- Wait(0)
- for k,v in pairs(radares) do
- local player = GetPlayerPed(-1)
- local coords = GetEntityCoords(player, true)
- if Vdist2(radares[k].x, radares[k].y, radares[k].z, coords["x"], coords["y"], coords["z"]) < 10 then
- Citizen.Trace("estas pasando por un radar")
- checkSpeed()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement