Stock/public
#5

you will be needing an destination[playerid] here WelcomeTo(color,"blahblah");. if u wanna send message to particular player
so stock will be;
pawn Код:
stock WelcomeTo(playerid,color,string[])
{
SendClientMessage(playerid,color,string);
}
which makes no diffence though so instead of stock use macro
pawn Код:
#define WelcomeTo(%1,%2,%3) SendClientMessage(%1,%2,%3)
Edit:
Quote:
Originally Posted by vassilis
Посмотреть сообщение
Simple exampple:

instead of writing:
SendClientMessage(playerid,colorhere,"Welcome to Four Dragons Casino");
i would like to convert it to
WelcomeTo(colorhere,"Four Dragons Casino");
that wont work lol you can create
WelcomeTo(playerid,"{FFFFF}Four Dragons Casino"); instead
Reply


Messages In This Thread
Stock/public - by vassilis - 06.05.2012, 11:56
Re: Stock/public - by antonio112 - 06.05.2012, 12:00
Re: Stock/public - by MP2 - 06.05.2012, 12:01
Re: Stock/public - by vassilis - 06.05.2012, 12:01
Re: Stock/public - by Niko_boy - 06.05.2012, 12:02
Re: Stock/public - by vassilis - 06.05.2012, 12:04
Re: Stock/public - by Pinguinn - 06.05.2012, 12:06
Re: Stock/public - by vassilis - 06.05.2012, 12:16

Forum Jump:


Users browsing this thread: 3 Guest(s)