VIP 3D Text Trouble
#1

I am using the LuxAdmin Script, and whenever I put this code in:

Код:
public OnPlayerSpawn(playerid)
{
    if(AccInfo[playerid][pVip] >= 1)
			{
        new Text3D:VIPLabel[MAX_PLAYERS];
        VIPLabel[playerid] = Create3DTextLabel("VIP",0xFFFF00AA,0,0,0,50,-1,1);
        Attach3DTextLabelToPlayer(VIPLabel[playerid], playerid, 0,0,0);
        }
It adds the 'VIP' text above the player's head just like I want it... the only thing is... It gives it to EVERY player on the server, even if they aren't VIP

Please help me.
Reply


Messages In This Thread
VIP 3D Text Trouble - by Thresholdold - 28.11.2011, 13:43
Re: VIP 3D Text Trouble - by CONTROLA - 28.11.2011, 13:53
Re: VIP 3D Text Trouble - by Thresholdold - 28.11.2011, 13:55
Re: VIP 3D Text Trouble - by CONTROLA - 28.11.2011, 14:04
Re: VIP 3D Text Trouble - by Thresholdold - 28.11.2011, 14:15
Re: VIP 3D Text Trouble - by Thresholdold - 28.11.2011, 14:21
Re: VIP 3D Text Trouble - by CONTROLA - 28.11.2011, 14:27
Re: VIP 3D Text Trouble - by Thresholdold - 28.11.2011, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)