SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Thread Tools Display Modes
Old 10/06/2018, 03:27 PM   #1
Join Date: Jul 2011
Posts: 208
Reputation: 88
Default Custom textures on objects

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?
DeadDon is offline   Reply With Quote
Old 10/06/2018, 06:17 PM   #2
Locky_'s Avatar
Join Date: Jul 2012
Posts: 1,599
Reputation: 321
Default Re: Custom textures on objects

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

Locky_ is online now   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with setting custom textures on default objects ZONDED SA-MP 0.3.DL 0 06/01/2018 03:57 PM
How can i make custom textures? GTLS Scripting Help 3 18/05/2015 06:44 PM
Custom textures Darien Scripting Help 4 03/04/2012 08:47 PM

All times are GMT. The time now is 07:32 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.