13.06.2010, 19:12
why doesn't this work?
Код:
public isPlayerInArea2() { new Float:X, Float:Y, Float:Z; for(new i=0; i < MAX_PLAYERS; i++) { GetPlayerPos(i, X, Y, Z); if (X <= 2858 && X >= 2342 && Y <= -2319 && Y >= -2742) if (X <= -576 && X >= -763 && Y <= 1039 && Y >= 845 && Z <= 20 && Z >= 0) { } else { ResetPlayerWeapons(i); } } }