SA-MP Forums Archive
Only Admin 3D Label, Help 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: Only Admin 3D Label, Help Please? (/showthread.php?tid=364267)



Only Admin 3D Label, Help Please? - [PDS]DarioKeic - 30.07.2012

Hello,
I tried making this but, Failed. If someone could be kind and help me. Okay, I was trying to make so when a admin spawns, He will have a chatbubble in red above his head saying "Administrator". If somebody could please help.
Btw i am also using luxadmin.
If somebody can instead make that into a command, Like "/adminlabel".

Regards,
Dario


Re: Only Admin 3D Label, Help Please? - [MM]RoXoR[FS] - 30.07.2012

pawn Код:
new Text3D:adminlabel[MAX_PLAYERS];
new bool:labelused[MAX_PLAYERS] = false;
CMD:adminlabel(playerid,params[])
{
    if(labelused[playerid] == true)
    { Delete3DTextLabel(adminlabel[playerid]; labelused[playerid]= false; return1;
    }
    adminlabel[playerid] = Create3DTextLabel("Admin",-1,0,0,0,100,GetPlayerVirtualWorld(playerid),0);
    Attach3DTextLabelToPlayer(adminlabel[playerid],playerid,0,0,1);
    labelused[playerid] = true;
    return 1;
}



Re : Only Admin 3D Label, Help Please? - cazanova - 02.08.2012

Quote:
Originally Posted by [PDS]DarioKeic
Посмотреть сообщение
Hello,
I tried making this but, Failed. If someone could be kind and help me. Okay, I was trying to make so when a admin spawns, He will have a chatbubble in red above his head saying "Administrator". If somebody could please help.
Btw i am also using luxadmin.
If somebody can instead make that into a command, Like "/adminlabel".

Regards,
Dario
Use zcmd