SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 10/06/2018, 02:27 PM   #1
DeadDon
Banned
 
Join Date: Jul 2011
Location: www.deaddon.net
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

Code:
	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, 05:17 PM   #2
Locky_
High-roller
 
Locky_'s Avatar
 
Join Date: Jul 2012
Posts: 1,589
Reputation: 321
Default Re: Custom textures on objects

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


Locky_ is offline   Reply With Quote
Reply

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 02:57 PM
How can i make custom textures? GTLS Scripting Help 3 18/05/2015 05:44 PM
Custom textures Darien Scripting Help 4 03/04/2012 07:47 PM


All times are GMT. The time now is 06:07 AM.


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