02.08.2010, 20:40
pawn Код:
GetPlayerPos(playerid, x, y, z);
for(new i=0; i <= GetMaxPlayers(); i++)
{
if(PlayerToPoint(10.0, i, x, y, z))
{
format(string, sizeof(string),"%s(%d) says: %s", sendername, playerid, message);
SendClientMessage(i, COLOR_PURPLE, string);
return 1;
}
}