3dTextLabel
#3

pawn Код:
stock AdminLevelToName(playerid)
{
    new admin[128];
    switch(playerVariables[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;
}
pawn Код:
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);
pawn Код:
new Text3D:label[MAX_PLAYERS];
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: 2 Guest(s)