3DTextLabel Bug!
#1

I have created these 3DText Label's:
pawn Code:
if(IsPlayerDAdminByDeadly[playerid][Level] == 3) {
    label1[playerid] = Create3DTextLabel("HEAD ADMINISTRATOR",0x7CFC0075,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.7);
    }
    else
    if(IsPlayerDAdminByDeadly[playerid][Level] == 2) {
    label1[playerid] = Create3DTextLabel("ADMINISTRATOR",0x7CFC0075,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.7);
    }
    else
    if(IsPlayerDAdminByDeadly[playerid][Level] == 1) {
    label1[playerid] = Create3DTextLabel("MODERATOR",0x7CFC0075,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.7);
    }
    else
    if(IsPlayerDAdminByDeadly[playerid][pVip] == 0) {
    label1[playerid] = Create3DTextLabel("DONATOR",0x7CFC0075,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.7);
    }
    else
    if(IsPlayerDAdminByDeadly[playerid][Level] == 0) {
    label2[playerid] = Create3DTextLabel("  ",0x008080FF,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(label2[playerid], playerid, 0.0, 0.0, 0.7);
    }
The problem is that, the player who is level 0, it shows it Head Admin (means Level 3) and sometime it shows Donator (Vip Member) and he's not a vip member too! Can anybody tell me what's the problem with my script?
These are added in OnPlayerSpawn callback and it's not only bugging with level 0, it also bugs with level 1, 2 and 3 too, it shows double 3D
Reply


Messages In This Thread
3DTextLabel Bug! - by iZN - 17.07.2010, 18:29
Re: 3DTextLabel Bug! - by iZN - 18.07.2010, 09:23
Re: 3DTextLabel Bug! - by aNdReSk - 18.07.2010, 09:38
Re: 3DTextLabel Bug! - by iZN - 18.07.2010, 12:51
Re: 3DTextLabel Bug! - by straco - 18.07.2010, 13:02
Re: 3DTextLabel Bug! - by iZN - 18.07.2010, 13:18
Re: 3DTextLabel Bug! - by Lemmur95 - 19.07.2010, 05:12
Re: 3DTextLabel Bug! - by Betamaster - 19.07.2010, 05:46

Forum Jump:


Users browsing this thread: 1 Guest(s)