Quote:
pawn Код:
public OnPlayerDisconnect(playerid, reason) { if(PlayerIsAFK[playerid] == 1) return PlayerIsAFK[playerid] = 0; if(Denied[playerid] == 1) return Denied[playerid] = 0; if(UsedAFK[playerid] == 1) return UsedAFK[playerid] = 0; if(AFK[playerid]!= INVALID_3DTEXT_ID) return Delete3DTextLabel(AFK[playerid]); return 1; }
|
Why return at all these if checks?