SA-MP Forums Archive
Texture didn't load - 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: Texture didn't load (/showthread.php?tid=605824)



Texture didn't load - MonSterLikeHD - 25.04.2016

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 ?


Re: Texture didn't load - ikey07 - 25.04.2016

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.


Re: Texture didn't load - MonSterLikeHD - 25.04.2016

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