02.01.2016, 16:43
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:
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", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(labelvip[playerid], playerid, 0.0, 0.0, 0.7);
}