Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local blip
- addEventHandler("onPlayerJoin",root,
- function()
- local randomColor=math.random(1,255)
- blip=createBlipAttachedTo(source,0,2,randomColor,randomColor,randomColor,255)
- end)
- addEventHandler("onPlayerQuit",root,
- function()
- if(isElement(blip))then destroyElement(blip) end
- end)
Add Comment
Please, Sign In to add comment