05.02.2016, 02:37
Or just do this:
pawn Код:
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i <= GetPlayerPoolSize(); i++)
{
if(IsPlayerConnected(i) && GetPlayerDistanceFromPoint(i, Pos[0], Pos[1], Pos[2]) <= 15.0) SendClientMessage(i, COLOR_PURPLE, string);
}