daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local blip
  2.  
  3. addEventHandler("onPlayerJoin",root,
  4. function()
  5.     local randomColor=math.random(1,255)
  6.     blip=createBlipAttachedTo(source,0,2,randomColor,randomColor,randomColor,255)
  7. end)
  8.  
  9. addEventHandler("onPlayerQuit",root,
  10. function()
  11.     if(isElement(blip))then destroyElement(blip) end
  12. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top