Help with the 3DTextLabel
#1

Hello. So basically, If the player is VIP and when he spawns, there must be attached 3dtextlabel on the top of his skin's head. Also I don't want that 3dtextlabel appear also on other player's head.


Here is the code from OnPlayerSpawn and I would like to know, if it is correct:
PHP код:
if(pInfo[playerid][pVipLevel] >=1)
        {
            new 
Text3D:labelvip[MAX_PLAYERS];
            
labelvip[playerid] = Create3DTextLabel("Bronze VIP"0x008080FF30.040.050.040.00);
            
Attach3DTextLabelToPlayer(labelvip[playerid], playerid0.00.00.7);
        } 
Reply
#2

Try to add this on top of the script ( also remove it from OnPlayerSpawn ):

Код:
new Text3D:labelvip[MAX_PLAYERS];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)