3d Labels not deleting on user disconnect
#2

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?
Reply


Messages In This Thread
3d Labels not deleting on user disconnect - by ded - 05.12.2009, 11:23
Re: 3d Labels not deleting on user disconnect - by Streetplaya - 05.12.2009, 11:26
Re: 3d Labels not deleting on user disconnect - by ded - 05.12.2009, 11:33
Re: 3d Labels not deleting on user disconnect - by godknightx - 05.12.2009, 13:11
Re: 3d Labels not deleting on user disconnect - by ded - 05.12.2009, 13:18
Re: 3d Labels not deleting on user disconnect - by godknightx - 05.12.2009, 14:32
Re: 3d Labels not deleting on user disconnect - by ded - 05.12.2009, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)