SetObjectMaterialText Color embedding
#2

i also have a problem with the colors... i think its a bug -.- when i type in 0x000000FF then it just gets invisible and when I type in 0xCC0000FF for an example it gets blue?! wtf? hope for fix.. or someone can tell me what i do wrong?

Код:
CMD:settext(playerid,params[])
{
	new textstring[24];
	new textsize;
	new fontcol;
	new backcolor;
	if(sscanf(params,"sdhh",textstring,textsize,fontcol,backcolor))
		return SendClientMessage(playerid,0xFF0000,"Format: /settext [Text] [Fontsize] [Fontcol->HEX] [BackCol->HEX]");
	SetObjectMaterialText(testobject,textstring,0,OBJECT_MATERIAL_SIZE_256x128,"Arial",textsize,1,fontcol,backcolor,0);
	return 1;
}
Reply


Messages In This Thread
SetObjectMaterialText Color embedding - by NetKiel - 21.04.2012, 14:13
AW: SetObjectMaterialText Color embedding - by xXGaryXx - 21.04.2012, 19:47
Re: SetObjectMaterialText Color embedding - by Vince - 21.04.2012, 22:33

Forum Jump:


Users browsing this thread: 2 Guest(s)