Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- playerBlibs1 = {}
- amouunt1 = 0
- function updateGPS2 ()
- if not getElementData(getLocalPlayer(),"logedin") then return end
- amouunt1 = 0
- for i, blip in ipairs(playerBlibs1) do
- if isElement(blip) then
- destroyElement(blip)
- end
- end
- playerBlibs1 = {}
- for i, player in ipairs(getElementsByType("player")) do
- if getElementData(localPlayer,"radiowave") == getElementData(player,"radiowave") and getElementData(player,"GPS") >= 1 and getElementData(localPlayer,"GPS") >= 1 and player ~= localPlayer then
- amouunt1 = amouunt1+1
- playerBlibs1[amouunt1] = createBlipAttachedTo(player,0,2,255,0,0)
- setBlipVisibleDistance(playerBlibs1[amouunt1],1000)
- end
- end
- end
- setTimer(updateGPS2,5000,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement