Dynamic Object Material bug - 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)
+--- Thread: Dynamic Object Material bug (
/showthread.php?tid=569881)
Dynamic Object Material bug -
iBots - 03.04.2015
Well,i have tried to put a gun on the ground ,it worked,but when i try to change the color of it using SetDynamicObjectMaterial it just turns invisible,here is the code i used to change the color
pawn Код:
SetDynamicObjectMaterial(object[i], 0, -1, "none", "none", 0xFF00FF00); // object[i] is the object i created....
but it doesnt work,why?
Re: Dynamic Object Material bug -
Golf - 03.04.2015
Try to put AA :
0xFF00FFAA
Re: Dynamic Object Material bug -
iBots - 03.04.2015
the 00 is from the color code... and doesnt work
Re: Dynamic Object Material bug -
iBots - 03.04.2015
I have tried pottus's texture studio it works but in my code it doesnt why?
Re : Dynamic Object Material bug -
AlexBlack - 03.04.2015
check this:
https://sampforum.blast.hk/showthread.php?tid=331497
Re: Dynamic Object Material bug -
RoboN1X - 03.04.2015
Quote:
Originally Posted by iBots
Well,i have tried to put a gun on the ground ,it worked,but when i try to change the color of it using SetDynamicObjectMaterial it just turns invisible,here is the code i used to change the color?
|
There is a bug report of this issue with its sa-mp function, read here:
https://sampforum.blast.hk/showthread.php?tid=567624
Quote:
Originally Posted by Golf
Try to put AA :
0xFF00FFAA
|
The parameter color format is AARRGGBB, so it's not wrong.
Re: Dynamic Object Material bug -
iBots - 03.04.2015
anyone?