SA-MP Forums Archive
[Bug] Material Text Background - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: [Bug] Material Text Background (/showthread.php?tid=340967)



[Bug] Alpha channel of objects - SDraw - 09.05.2012

Alpha channel doen't work right on 0.3e. But on 0.3e-RC7-3 it's work fine
Example:
0.3e-RC7-3
0.3e
This for SetObjectMaterial and SetObjectMaterialText.
And this problem is in 0.3x still!


Re: [Bug] Material Text Background - dugi - 09.05.2012

You should post the code that you are using.


Re: [Bug] Material Text Background - SDraw - 09.05.2012

PHP код:
SetObjectMaterialText(Menu3DObjects[playerid][0],"Âûõîä",0,OBJECT_MATERIAL_SIZE_256x128,"Impact",42,0,0xFFFFFFFF,0xAAFF8200,OBJECT_MATERIAL_TEXT_ALIGN_CENTER); 



Re: [Bug] Material Text Background - dugi - 09.05.2012

Which object id is the Menu3DObjects[playerid][0] variable?


Re: [Bug] Material Text Background - SDraw - 10.05.2012

If playerid is equal 0, so Menu3DObjects[playerid][0] is equal 86.
Also, Menu3DObjects[playerid][0] is lower menu box.


Re: [Bug] Material Text Background - leong124 - 10.05.2012

Quote:
Originally Posted by SDraw
Посмотреть сообщение
If playerid is equal 0, so Menu3DObjects[playerid][0] is equal 86.
Also, Menu3DObjects[playerid][0] is lower menu box.
I guess he mean the model ID of the object, instead of the object ID returned in CreateObject.


Re: [Bug] Material Text Background - SDraw - 10.05.2012

ModelID - 2661


Re: [Bug] Material Text Background - SDraw - 13.05.2012

Well? Does somebody else confirm this bug?


Re: [Bug] Material Text Background - SDraw - 05.06.2012

How I understood, nobody wants transparent objects...Ok...


Re: [Bug] Material Text Background - ikey07 - 05.06.2012

I can confirm, alpha can be only 0 or 255, at at other values it will show as 255