Colors
#1

Hey I Create A Dialog With Colors but The Colors Dosent Show

pawn Код:
CMD:ranks(playerid,params[])
{
    new pDialog[9999];
    strcat(pDialog, "{FF0000AA}RANKS                            Score Needed\n", sizeof(pDialog));
    strcat(pDialog, "{0000BBAA}_______________________________________________\n\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Trainee                  {C0C0C0AA} Score\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Private                  {C0C0C0AA}100 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}PFC                      {C0C0C0AA}200 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Corporal                 {C0C0C0AA}300 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Sergeant                 {C0C0C0AA}400 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Staff Sergeant           {C0C0C0AA}500 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}SFC                      {C0C0C0AA}600 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Master Sergeant          {C0C0C0AA}700 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Second Lieutenant        {C0C0C0AA}800 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Captain                  {C0C0C0AA}1000 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Major                    {C0C0C0AA}1200 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Lieutenant Colonel       {C0C0C0AA}1400 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Brigadier General        {C0C0C0AA}2000 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Major General            {C0C0C0AA}2400 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}General                  {C0C0C0AA}3500 Scores\n", sizeof(pDialog));
    strcat(pDialog, "{33AA33AA}Marshal                  {C0C0C0AA}5000 Scores\n", sizeof(pDialog));
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "NEW-GENERATION RANKS", pDialog, "Close","");
    return 1;
}
Reply
#2

The colors in { } has to be a color hex code.
Example: {FFFFFF} - White
Reply
#3

i Create Like That
Please ANy One
Reply
#4

Remove the last 2 A's (alpha) and try
Reply
#5

Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
Remove the last 2 A's (alpha) and try
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNNXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX


pawn Код:
REP+++++++
Reply
#6

Didn't I already help you with this like yesterday?
I sent you a PM that gives you all the help you need...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)