Could anybody help me to make a simple script?
Which make message to chat when someone connected to server.
I'm looking forward!
[url]http://wiki.garrysmod.com/?title=Gamemode.PlayerInitialSpawn[/url] is probably what you're after.
[code]
function FirstSpawn( ply )
ply:PrintMessage(HUD_PRINTCENTER,"Welcome to the server!")
end
hook.Add( "PlayerInitialSpawn", "playerInitialSpawn", FirstSpawn )
[/code]
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
Sorry, you need to Log In to post a reply to this thread.