Local Chat
#2

do

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
     new Float:x, Float:y, Float:z;
     GetPlayerPos(playerid, x, y, z); // playerid is = the player who talks
     if(IsPlayerInRangeOfPoint(i, x, y, z, 20.0))
     {
            format(string, sizeof(string), "%s says: %s", playername, textstring);
            SendClientMessage(i, color, string);
     }
}
you see?
Reply


Messages In This Thread
Local Chat - by Luis- - 15.08.2010, 20:01
Re: Local Chat - by Niixie - 15.08.2010, 20:55
Re: Local Chat - by Luis- - 15.08.2010, 22:14
Re: Local Chat - by vital2k - 15.08.2010, 22:21
Re: Local Chat - by Mike Garber - 15.08.2010, 22:26
Re: Local Chat - by Luis- - 15.08.2010, 23:52
Re: Local Chat - by Niixie - 16.08.2010, 10:33
Re: Local Chat - by wups - 16.08.2010, 10:38

Forum Jump:


Users browsing this thread: 4 Guest(s)