Jump to content

Question

Posted

Salut.

Pe server, daca un player are Admin sau Vip, imi apare asa:

Test (Admin)(ID: 2): Text..

Si nu vreau sa-mi apara si acel spatiu intre Test si (Admin) si la (VIP) am aceeasi problema.

Uitati codul pe care il am la aceasta functie.

[pawn]SetPlayerChatBubble(playerid, text, 0xFF9900AA, 200.0, 10000);

if(AccInfo[playerid][Level] > 0 && AccInfo[playerid][Hide] == 1)

{

format(PText, 256, "{15FF00}(%d):{FFFFFF} %s",playerid, text);

SendPlayerMessageToAll(playerid, PText);

return 0;

}

else if(AccInfo[playerid][Level] > 0 && AccInfo[playerid][Hide] == 0)

{

format(PText, 256, "{0F66E0}(Admin){15FF00}(%d):{FFFFFF} %s", playerid, text);

SendPlayerMessageToAll(playerid, PText);

return 0;

}

else if(AccInfo[playerid][pVip] > 0)

{

format(PText, 256, "{FF0000}(VIP){15FF00}(%d):{FFFFFF} %s", playerid, text);

SendPlayerMessageToAll(playerid, PText);

        return 0;

}

else if(AccInfo[playerid][Level] < 1 && AccInfo[playerid][pVip] < 1)

{

format(PText, 256, "{15FF00}(%d):{FFFFFF} %s", playerid, text);

SendPlayerMessageToAll(playerid, PText);

return 0;

}

return 1;

}[/pawn]

3 answers to this question

Recommended Posts

Posted

Eu nu vad nici un spatiu in acele functii

Uite niste poze..

La VIP:

1381501459-sa-mp-023.png

La Admin:

1381501459-sa-mp-021.png

Vezi ca apare SpLaSH: (Admin)(0): Text......... ?

Vreau sa sterg alea doua puncte (:) de dupa SpLaSH.Xd, si sa lipesc textul (Admin) de nickname. La (VIP) tot ca la Admin, sa fie lipit de nick.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.