[Pomoc] Text iznad imena...

Započeo Maksi, April 24, 2013, 14:30:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:moja
Detaljan opis problema: Kako da stavim da npr kad nekog postavim za admina level 1 da mu iznad glave pise crnim slovima Admin lvl 1 znaci lik i iznad glave mu pise nick e iznad nicka razumete valjda...?
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno): /

tj hocu zutom bojom :D Vidjali ste to pre na Balkan Expressu da adminima iznad glave pise admin,director i to...?


    if (strcmp(cmd, "/aduty", true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
           SetPlayerArmour(playerid, 100);
           if(PlayerInfo[playerid][pAdmin] >= 1)
           label[playerid] = Create3DTextLabel("Na Admin Duznosti! (Ne ometaj!)",COLOR_LIGHTBLUE,30.0,40.0,50.0,40.0,0);
           SetPlayerHealth(playerid, 100);
           GetPlayerName(playerid, sendername, sizeof(sendername));
           format(string, sizeof(string), "%s je sada na admin duznosti!", sendername);
           Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
           SendAdminMessage(COLOR_GREEN,string);
           SetPlayerColor(playerid, 0xA5FF00FF);
        }
        return 1;
        }

ali ovo je za sve admine ja hocu da samo iznad glave admina lvl 1 pise nesto posebno...?




    if (strcmp(cmd, "/aduty", true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
           SetPlayerArmour(playerid, 100);
           if(PlayerInfo[playerid][pAdmin] >= 1)
           format(string, sizeof(string), "%s je sada na admin duznosti!", sendername); 
           SetPlayerHealth(playerid, 100);
           GetPlayerName(playerid, sendername, sizeof(sendername));
           DutyLabel[playerid] = Create3DTextLabel("Admin na duznosti \n NE napadaj!",0xFF000099,0,0,0,50,-1,1); 
           SendAdminMessage(COLOR_GREEN,string);
           SetPlayerColor(playerid, 0xA5FF00FF);
        }
        return 1;
        }

DutyLabel moras pod new new DutyLabel [MAX_PLAYERS];
Srednji=Skripter ;)


izbacuje mi warning Tag Mismatch ovde :
DutyLabel[playerid] = Create3DTextLabel("Admin na duznosti \n NE napadaj!",0xFF000099,0,0,0,50,-1,1);

Evo ti ovako se radi :)) Pa samo prilagodi svom modu
Nadjes de ti je ovo
public Labeli()
Posle samo dodas ovako je kod mene, pa ti prilagodi svom modu istavi sta hoces da ti pise
SetPlayerChatBubble(j, "[ SKRIPTER ]", COLOR_BLACK, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pLevel] == 1)
{
SetPlayerChatBubble(j, "[ Turista ]", COLOR_DARKNICERED, 40.0, 6600000);
}
if(PlayerInfo[j][pOSC] == 1340)
{
SetPlayerChatBubble(j, "[ VLASNIK ]", COLOR_YELLOW, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pHelper] >= 1)
{
SetPlayerChatBubble(j, "[ HELPER ]", COLOR_YELLOW, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pOSC] == 1)
{
SetPlayerChatBubble(j, "[ OSC ]", COLOR_YELLOW, 40.0, 6600000);
}
if(PlayerInfo[j][pOSC] == 2)
{
SetPlayerChatBubble(j, "[ OSC ]", COLOR_DARKNICERED, 40.0, 6600000);
}
if(PlayerInfo[j][pOSC] == 3)
{
SetPlayerChatBubble(j, "[ OSC ]", COLOR_DARKNICERED, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pOSC] == 4)
{
SetPlayerChatBubble(j, "[ OSC ]", COLOR_DARKNICERED, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pOSC] == 1338)
{
SetPlayerChatBubble(j, "[ Mapper ]", COLOR_DARKNICERED, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pVip] == 4)
{
SetPlayerChatBubble(j, "[ DONATORSKI VIP 4 ]", COLOR_DARKNICERED, 40.0, 6600000);
SetPVarInt(j, "Izbegavanje", 1);
}
if(PlayerInfo[j][pVip] == 3)
{
SetPlayerChatBubble(j, "[ DONATORSKI VIP 3 ]", COLOR_DARKNICERED, 40.0, 6600000);
}

Srecu cine male stvari i veliko pivo!
x3M-Gaming USKORO!