Vip label
#1

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:

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);
    }
Reply


Messages In This Thread
Vip label - by Face9000 - 04.02.2014, 13:48
Re: Vip label - by Jimmy0wns - 04.02.2014, 13:52
Respuesta: Vip label - by LuisR - 04.02.2014, 13:59
Re: Vip label - by Face9000 - 04.02.2014, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)