Use colors within menus
#1

Hello, I'm trying to use some SA-MP menus (for the first time) and I attempted to use some colors for header or items but I can't.


I used something like this
pawn Код:
new Menu:tmenu;

tmenu = CreateMenu("Test menu", 0, 200.0, 100.0, 150.0, 150.0);
new string[64];
format(string,sizeof(string),"{FF0000} Text text text");
SetMenuColumnHeader(tmenu, 0, string);
return 1;



    if (strcmp("/mn2", cmdtext, true, 10) == 0)
    {
        ShowMenuForPlayer(tmenu, playerid);
        TogglePlayerControllable(playerid,0);
        return 1;
    }

When I use /mn2 in game I got this : "?FF0000$ Text text text" with normal color. Is there any way to use colors?
Reply


Messages In This Thread
Use colors within menus - by usrb1n - 27.03.2011, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)