VIP 3D Text Label Shows For Anyone
#1

Why The VIP Text Label Shows For Anyone Else Even VIP And Non-VIP Too?

I Show It When Player Spawns.

Codes:
pawn Код:
if(Info[playerid][VIPLevel] == 1 || Info[playerid][VIPLevel] == 2 || Info[playerid][VIPLevel] == 3)
    {
      VIPlabel[playerid] = Create3DTextLabel("VIP", 0xFFEE00FF, 30.0, 40.0, 50.0, 40.0, 0);
      Attach3DTextLabelToPlayer(VIPlabel[playerid], playerid, 0.0, 0.0, 0.7);
    }
Reply
#2

Do you destroy the label when player disconnects? Also, are you sure the variable is loaded correctly? Maybe it takes from the previous player logged with the same id.
Reply
#3

What's the minimum VIP level? Is there any level representing non-VIP?
Reply
#4

Xabi: No I forgot To Destroy Label But It Shows To The Specific Player ID, And The Variable Is Loaded Correctly.

Miguel: Minimum VIP Level: 1, And I Represent Non-VIP As Normal Player (Or VIP Level 0).
Reply
#5

You need to destroy it when player leaves
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)