Custom textures on objects
#1

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

this feature was not implemented. you must add the object with the modified texture.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)