Vice City Multiplayer

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

Title: Script request (Please read)
Post by: theweirdgeek on February 21, 2010, 10: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, 11:51:50 pm
Code: [Select]
public OnPlayerConnect(playerid){
SendClientMessage(playerid,COLOR_GRAY,"Welcome to my server.");
return 1;
}
Title: Re: Script request (Please read)
Post by: theweirdgeek on February 22, 2010, 12:36:08 am
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 22, 2010, 12:45:57 am
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.