Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Diamond on Nov 01, 2015, 11:02 AM

Title: Changing default msg
Post by: Diamond on Nov 01, 2015, 11:02 AM
Hey how to change the default message when someone connects.
*> Player connected. <*
Title: Re: Changing default msg
Post by: KingOfVC on Nov 01, 2015, 11:46 AM
first onScriptLoad
SetJoinMessages( false )
onPlayerJoin
Message( player.Name  + " Joined the toilet ")
Title: Re: Changing default msg
Post by: EK.IceFlake on Nov 01, 2015, 12:06 PM
Lol joined the toilet xD
Title: Re: Changing default msg
Post by: Xmair on Nov 01, 2015, 04:54 PM
lmfao
Title: Re: Changing default msg
Post by: KAKAN on Nov 01, 2015, 05:06 PM
LOLOL!
Yea, you can use this one too.
function onScriptLoad() SetJoinMessages( false );
function onPlayerJoin( player ) Message(  format("*> %s has joined the server. <*",player.Name ) );