Custom textures on objects - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (
https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (
https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: Custom textures on objects (
/showthread.php?tid=654971)
Custom textures on objects -
DeadDon - 10.06.2018
I want to use a custom texture on a object
(change it on command)
- "-2014" : The id of the model i'm using in AddSimpleModel
- "empty" : Name of the .png texture inside the txd file of the model -2014
Код:
new modeltest = CreateDynamicObject(-2014,1380.40747100+0.7,-1159.28759800,23.44655400+0.5,0.00000000,0.00000000,180.24094860+90); //model(-2014)
SetDynamicObjectMaterial(atmtest, 0, -2014, "mdl-2014", "mdl-2014:empty", 0x00000000); // This goes under a CMD.
But nothing happens
What am I doing wrong?
Re: Custom textures on objects -
Locky_ - 10.06.2018
this feature was not implemented. you must add the object with the modified texture.