06.09.2010, 13:31
So, for example if someone enters "Admin restricted area" he have 15 seconds to get out. I need to know how to make my script check if player left the place after warning or not 
What's wrong with it? Because when i leave the place 5 secs after warning it still kicks me out

Код:
public warning()
{
for (new i=0; i<=MAX_PLAYERS; i++)
if(IsPlayerInArea(i, 210.2018, 1786.715, 432.0814, 2090.34))
{
SendClientMessage(i, COLOR_RED, "You'll get punished, dude :D");
Kick(playerid);
}
else if(!IsPlayerInArea(i, 210.2018, 1786.715, 432.0814, 2090.34))
{
SendClientMessage(i, COLOR_GREEN, "Good Boy :D");
}
}


