25.06.2011, 18:44
pawn Код:
forward Checks();
public Checks()
{
print("DEBUG 1");
for(new i; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
if(IsPlayerInArea(i,-2931.596, -2981.811, 219.2902, -123.9217))
{
print("DEBUG 2");
SetPlayerHealth(i,0);
}
}
return 1;
}
pawn Код:
if(!IsPlayerConnected(i)) continue;