Player Join Message

Could anybody help me to make a simple script?
Which make message to chat when someone connected to server.
I’m looking forward!

http://wiki.garrysmod.com/?title=Gamemode.PlayerInitialSpawn is probably what you’re after.



	

function FirstSpawn( ply )
 
	ply:PrintMessage(HUD_PRINTCENTER,"Welcome to the server!")
 
end
 
hook.Add( "PlayerInitialSpawn", "playerInitialSpawn", FirstSpawn )


I must be such a pro If I can goto the guy above me’z url and just copy and paste.

Dumb ratings make me horny <3