28.11.2011, 13:43
I am using the LuxAdmin Script, and whenever I put this code in:
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.
Код:
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);
}

Please help me.

