Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: theweirdgeek on February 21, 2010, 08:35:20 PM

Title: Script request (Please read)
Post by: theweirdgeek on February 21, 2010, 08:35:20 PM
How can i get my server to welcome visitors with a message such as,

Welcome to my server.

Thanks,
Jake
Title: Re: Script request (Please read)
Post by: Boss on February 21, 2010, 09:51:50 PM

public OnPlayerConnect(playerid){
SendClientMessage(playerid,COLOR_GRAY,"Welcome to my server.");
return 1;
}
Title: Re: Script request (Please read)
Post by: theweirdgeek on February 21, 2010, 10:36:08 PM
I'm new to all this coding, Do you know where abouts i insert this script to get it to work?

Thanks,
Jake
Title: Re: Script request (Please read)
Post by: Boss on February 21, 2010, 10:45:57 PM
You put this in your .pwn script. Refer to the following resources for a further scripting help:
http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS
http://wiki.sa-mp.com/wiki/Category:Scripting_Documentation
http://tdhclan.ru/wiki/index.php/Scripting

If none of these help - nothing can.