how to deleted 3d text label
#1

I m using this
pawn Code:
if (h >= 15 && AccInfo[playerid][Level] ==0 && AccInfo[playerid][pVip] == 0)
    {
    label[playerid] = Create3DTextLabel("Trusted Player", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
    }
how to delete this label if

pawn Code:
if(AccInfo[playerid][pVip] > 0 && AccInfo[playerid][Level] ==0 )
    {
    label[playerid] = Create3DTextLabel("VIP Player", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
Reply
#2

pawn Code:
Delete3DTextLabel( label[ playerid ] );
?

To change text
pawn Code:
Update3DLabelText( label[ playerid ], 0xFFFFFFFF, "Basicz" );
Reply
#3

Quote:
Originally Posted by Basicz
View Post
pawn Code:
Delete3DTextLabel( label[ playerid ] );
?

To change text
pawn Code:
Update3DLabelText( label[ playerid ], 0xFFFFFFFF, "Basicz" );
Lemme try hope this work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)