SA-MP Forums Archive
Colors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Colors (/showthread.php?tid=376891)



Colors - Windrush - 12.09.2012

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;
}



Re: Colors - Jikesh - 12.09.2012

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


Re: Colors - Windrush - 12.09.2012

i Create Like That
Please ANy One


Re: Colors - [ABK]Antonio - 12.09.2012

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


Re: Colors - Windrush - 12.09.2012

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


pawn Код:
REP+++++++



Re: Colors - clarencecuzz - 12.09.2012

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