04.02.2014, 13:48
This can be a stupid problem, i know, i fixed more hard things then this, but with this code i can't find a way to make it work.
This code is supposed to show a textlabel on the player's head if he's a vip. It works if i am a vip member, but, if i remove my vip status, i still have that textlabel:
This code is supposed to show a textlabel on the player's head if he's a vip. It works if i am a vip member, but, if i remove my vip status, i still have that textlabel:
pawn Код:
if(PlayerInfo[playerid][Vip] == 1)
{
new Text3D:VipLabel = Create3DTextLabel("Vip Player", 0xFFFF00FF, 30.0, 40.0, 50.0, 50.0, 0);
Attach3DTextLabelToPlayer(VipLabel, playerid, 0.0, 0.0, 0.7);
}
else
{
new Text3D:VipLabel;
Delete3DTextLabel(VipLabel);
}