05.12.2009, 13:11
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if(PlayerIsAFK[playerid] == 1) PlayerIsAFK[playerid] = 0;
if(Denied[playerid] == 1) Denied[playerid] = 0;
if(UsedAFK[playerid] == 1) UsedAFK[playerid] = 0;
if(AFK[playerid]!= INVALID_3DTEXT_ID) Delete3DTextLabel(AFK[playerid]);
return 1;
}