3D Admin Label For LAdmin (Can someone make It?)
#3

pawn Код:
new Text3D:AdminLabel[MAX_PLAYERS];
OnPlayerDisconnect
pawn Код:
if(/* is admin */)
{
    Delete3DTextLabel(AdminLabel[playerid]);
}
LoginPlayer
pawn Код:
if(/* is admin */)
{
    AdminLabel[playerid] = Create3DTextLabel("Admin", 0xFFFFFFFF, 0, 0, 0, 50, 0, 1);
    Attach3DTextLabelToPlayer(AdminLabel[playerid], playerid, 0, 0, 0.4);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)