SA-MP Forums Archive
help me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help me please (/showthread.php?tid=404979)



help me please - CBCandyBoy - 05.01.2013

hello everyone i want a simple help look i made my ladmin like that the level 1 is vip and the level 1 commands cannot be accessed by any other level instead of rcon

i make commands like this
28346

pawn Код:
if(PlayerInfo[playerid][Level] == 1 || IsPlayerAdmin(playerid)) {}
that is for level 1 and rcon

and i use zcmd

i want that if someone is level 1 admin or rcon admin a 3d text label abhove his head appears like that abhove his head in red colour: vip member


Re: help me please - CBCandyBoy - 05.01.2013

ok i scripted this under

OnPlayerSpawn

pawn Код:
new Text3D:label;
    label = Create3DTextLabel("V.I.P member", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    if(PlayerInfo[playerid][Level] == 1 || IsPlayerAdmin(playerid)) {
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return SendClientMessage(playerid, 0x008080FF, "Welcome VIP");
    }
but under this there are some optins for hiding text draws those are not hiding whne i comment this they are hiding

and also the vip tag is not seen but all the messages are working properly