12.09.2012, 04:18
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;
}