Texture didn't load
#1

Hi, i am trying to create something, i change the texture of the object, but the object didn't have the texture changed... Here is the code:
Quote:

new SuportWall1;
SuportWall1 = CreateObject(19435, 1312.13245, -1130.76404, 24.42850, 0.00000, 0.00000, 90.00000);
SetObjectMaterial(SuportWall1, 0, 19435, "all_walls", "laspowrec2", 0);

Someone can explain me why, the texture didn't change ?
Reply
#2

Some textures needs to be pre-loaded, somewhere in the underground add object which originally have this texture, and see the magic happens.

to understand it, first create original object with this texture and then change texture to your own object.
Reply
#3

Quote:
Originally Posted by ikey07
Посмотреть сообщение
Some textures needs to be pre-loaded, somewhere in the underground add object which originally have this texture, and see the magic happens.

to understand it, first create original object with this texture and then change texture to your own object.
Fixed allready, but i don't know how to close the thread xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)