Guest User

Untitled

a guest
Jan 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. addEventHandler("onPlayerJoin",root,
  2. function()
  3.     for i, pb in ipairs(getElementsByType("player")) do
  4.         local randomColor=math.random(1,255)
  5.         createBlipAttachedTo(source,0,2,randomColor,randomColor,randomColor,255)
  6.     end
  7. end)
Add Comment
Please, Sign In to add comment