Dynamic Object Material bug
#1

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?
Reply
#2

Try to put AA :

0xFF00FFAA
Reply
#3

the 00 is from the color code... and doesnt work
Reply
#4

I have tried pottus's texture studio it works but in my code it doesnt why?
Reply
#5

check this: https://sampforum.blast.hk/showthread.php?tid=331497
Reply
#6

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.
Reply
#7

anyone?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)