14.07.2011, 14:47
Oh, that's what you meant, my bad then and here you go, change the old isPlayerInArea to this.
pawn Код:
public isPlayerInArea() {
New Float:X, Float:Y, Float:Z;
For(new i=0; i < MAX_PLAYERS; i++) {
GetPlayerPos(i, X, Y, Z);
if (X <= -3915 && X >= -3694 && Y <= 401 && Y >= 37 && gWanted[playerid] == 1) SetPlayerHealth(i, -999999.9);
}
}

