16.03.2009, 02:31
Can Someone more educated let me know if this whisper function that i made will work?
Thanks!
If it works feel free to use it!
EDIT: YAH 200th POST HUGE CLUCKER!!
Thanks!
pawn Код:
stock SendClientWhisper(playerid,const str[])
{
new count=0;
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
for (new i=0; i<MAX_PLAYERS; i++)
{
if ( PlayerToPoint(5.0,i,X,Y,Z) )
{
SendClientMessage(i, COLOR_WHITE, str);
count++;
}
}
return count;
}
EDIT: YAH 200th POST HUGE CLUCKER!!