Only Admin 3D Label, Help Please?
#1

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
Reply
#2

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;
}
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)