Jump to content

Question + Help + Tutorial PLZ


Recommended Posts

Posted

Car models yes, Skil? you mean skin? no replacing skin models are not supported yet, building / objects yes.

Replacing Car models:You have the TXD and the DFF.

meta.xml:

<file src='infernus.txd' /> 
<file src='infernus.dff' /> 

client.lua

--client side 
local txd = engineLoadTXD('infernus.txd') 
engineImportTXD(txd, 411) 
local dff = engineLoadDFF('infernus.dff', 411) 
engineReplaceModel(dff, 411) 

1.You must load and import the TXD before loading the DFF.

2.You must specify the model of the replacement when you are loading the dff example:

local dff = engineLoadDFF('infernus.dff', 411) 

411 the model of infernus is specified here when loading the DFF

  • MTA Team
Posted

Skin textures are available though, use the same method as he said but only the TXD part and the model id as the skin id.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...