Advertisement
Mouamle

JoinQuit

Jun 21st, 2015
533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. function greetPlayer ( )
  2.     Players = getPlayerCount ( )
  3.     outputChatBox ( Msg , source, 255, 255, 255, true )
  4.     outputChatBox( "#00ff00There are " .. "#0000ff["  ..  Players .. "] " .. "#ff0000 players #00ff00 in the server" , getRootElement(  ), 231, 217, 176, true )
  5. end
  6. addEventHandler ( "onPlayerJoin", getRootElement(), greetPlayer )
  7. addCommandHandler( "x", greetPlayer )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement