SA-MP Forums

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01/05/2019, 09:30 PM   #1
ATomas
Huge Clucker
 
Join Date: Jul 2009
Location: Czech Republic
Posts: 277
Reputation: 20
Default SetObjectMaterial custom texture

Hello,
how to set custom texture to existing object?

I try sometring like:
Code:
new objectid = CreateObject(-2400,...
SetObjectMaterial(objectid,0,-2400,"my_txd_in_models_without_.txd","mdl-2400:mytexture");
but not work (nothing happened).

Thanks for help.
ATomas is offline  
 

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
SetObjectMaterial default texture. Banditukas Scripting Help 2 16/02/2015 10:24 PM
Transparent texture for SetObjectMaterial sim_sima Scripting Help 2 04/01/2014 01:26 AM
Invisible Texture bugs in interior (SetObjectMaterial) Basssiiie Bug Reports 6 28/07/2013 12:40 PM
[BUG] SetObjectMaterial - Texture Issues? corne Scripting Help 4 09/04/2012 03:30 PM


All times are GMT. The time now is 01:56 AM.


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