3dTextLabel
#7

okay at the top of your script :

pawn Код:
new Text3D:label[MAX_PLAYERS];
then CTRL + F for a stock if you find one post this under it :
pawn Код:
stock AdminLevelToName(playerid)
{
    new admin[128];
    switch(playerInfo[playerid][pAdminLevel])
    {

        case 1:
        {
            admin = "Junior Administrator";
        }
        case 2:
        {
            admin = "Senior Administrator";
        }
        case 3:
        {
            admin = "Head Administrator";
        }
        case 4:
        {
            admin = "Community Advisor";
        }
        case 5:
        {
            admin = "Elite Administrators";
        }
        case 1337:
        {
            admin = "Server Co-Owner";
        }
        case 1338:
        {
            admin = "Server Owner";
        }
    }
    return admin;
}
And now

pawn Код:
COMMAND:admintag(playerid,params[])
{
format(string, sizeof(string), "%s %s \n "EMBED_WHITE" ..-rp Administrator.", AdminLevelToName(playerid), szPlayerName);
label[playerid] = Create3DTextLabel(string, COLOR_RED, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
return 1;
}
if it's still not working pm me your teamviewer shit.
Reply


Messages In This Thread
3dTextLabel - by .v - 27.09.2012, 17:04
Re: 3dTextLabel - by Mr.Anonymous - 27.09.2012, 17:14
Re: 3dTextLabel - by ikbenremco - 27.09.2012, 17:17
Re: 3dTextLabel - by .v - 27.09.2012, 17:31
Re: 3dTextLabel - by ikbenremco - 27.09.2012, 17:38
Re: 3dTextLabel - by .v - 27.09.2012, 17:39
Re: 3dTextLabel - by ikbenremco - 27.09.2012, 17:53
Re: 3dTextLabel - by .v - 27.09.2012, 18:02
Re: 3dTextLabel - by Mr.Anonymous - 28.09.2012, 13:26

Forum Jump:


Users browsing this thread: 1 Guest(s)