21.07.2012, 16:18
You made an exact opposite...
Distance is GREATER than 5.
Distance is smaller than 5.
pawn Код:
if(PlayersDistance(playerid, id) > 5)
pawn Код:
else if(PlayersDistance(playerid, id) < 5)
{
new string3[128];
format(string3, sizeof(string3), "You are not close enough to %s", PlayerName(id));
SendClientMessage(playerid, -1, string3);
return 1;
}