15.08.2010, 20:55
do
you see?
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);
}
}