Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function greetPlayer ( )
- Players = getPlayerCount ( )
- outputChatBox ( Msg , source, 255, 255, 255, true )
- outputChatBox( "#00ff00There are " .. "#0000ff[" .. Players .. "] " .. "#ff0000 players #00ff00 in the server" , getRootElement( ), 231, 217, 176, true )
- end
- addEventHandler ( "onPlayerJoin", getRootElement(), greetPlayer )
- addCommandHandler( "x", greetPlayer )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement