12.02.2009, 17:39
I have this:
and i do this:
and than the text on my screen is all in caps
Код:
stock F_CreateMenu(title[], Float:x, Float:y, Float:boxlength)
{
new id;
while(MenuInfo[id][UsedMenu] == true) id++;
MenuInfo[id][T_Title] = TextDrawCreate( x, y, title);
TextDrawUseBox(MenuInfo[id][T_Title], 1);
TextDrawBoxColor(MenuInfo[id][T_Title], 0x00000033);
TextDrawTextSize(MenuInfo[id][T_Title], boxlength, 0.000000);
TextDrawBackgroundColor(MenuInfo[id][T_Title], 0x000000ff);
TextDrawFont(MenuInfo[id][T_Title], 2);
TextDrawLetterSize(MenuInfo[id][T_Title], 0.299999, 1.100000);
TextDrawColor(MenuInfo[id][T_Title], 0xffffffff);
TextDrawSetOutline(MenuInfo[id][T_Title], 1);
TextDrawSetProportional(MenuInfo[id][T_Title], 1);
TextDrawSetShadow(MenuInfo[id][T_Title], 1);
}
Код:
F_CreateMenu("test", 20.0, 50.0, 100.0);



i thought i was using font 1 ><