SA-MP Forums Archive
why is everything in caps? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: why is everything in caps? (/showthread.php?tid=65432)



why is everything in caps? - ғαιιοцт - 12.02.2009

I have this:

Код:
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);
}
and i do this:
Код:
F_CreateMenu("test", 20.0, 50.0, 100.0);
and than the text on my screen is all in caps


Re: why is everything in caps? - Ycto - 12.02.2009

Because you're using font 2
Use another font =)


* Credits to SA-MP Wiki, whoever wrote the article :P


Re: why is everything in caps? - ғαιιοцт - 12.02.2009

Quote:
Originally Posted by [SAP
Ycto ]
Because you're using font 2
Use another font =)


* Credits to SA-MP Wiki, whoever wrote the article :P
oeps i thought i was using font 1 ><
thanks