22.04.2012, 02:32
pawn Код:
new Float:playerPos[3];
GetPlayerPos(player1, playerPos[0], playerPos[1], playerPos[2]);
if(!IsPlayerInRangeOfPoint(playerid, 50, playerPos[0], playerPos[1], playerPos[2])) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player not in range.");