ObjectMaterial - 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: ObjectMaterial (
/showthread.php?tid=452527)
ObjectMaterial -
edzis84 - 21.07.2013
Ey, i need help with changing object materials ingame, like with furniture system.
Ive tryed
SetDynamicObjectMaterial(objectname, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);
But its not workin, maybe i need to reload that texture after setting this material to see new texture?
Re: ObjectMaterial -
jueix - 21.07.2013
Wait, you can change object's material? When the hell could you be able to do this, Time to look into it and work on some things, Then See If I can help you out.
Re: ObjectMaterial -
edzis84 - 21.07.2013
It works if i make it scriptly and then restart server but i want that i can change texture by command ingame