Jump to content
  • 0

why is MTA closed after adding clothes?


maksam07

Question

7 answers to this question

Recommended Posts

  • 0
  • MTA Anti-Cheat Team

 

On 15-8-2018 at 10:00, maksam07 said:

and still it is impossible to apply dff and because of it many other problems

I believe that clothes modding always means multi-clump DFF (like CJ skin), which is tricky to export correctly. Thus, someone who has no experience exporting multi-clump skin models, can easily generate a corrupt DFF which can lead to a MTA crash.

Link to comment
  • 0
On 15/08/2018 at 06:48, Pirulax said:

How can you replace cloth models btw?
Every time I tried to do so it just gave me a warning saying that it's a wrong modelid.
 

local textures = {
['cloth/boots'] = 30477,
}

local models = {
['cloth/boots'] = 30477,
}

addEventHandler('onClientResourceStart', resourceRoot,
function ()
    for cloth, id in pairs(textures) do
        local txd = engineLoadTXD(cloth..".txd")
        engineImportTXD(txd, id)
    end
        for cloth, id in pairs(models) do
           local dff = engineLoadDFF(cloth..".dff")
            engineReplaceModel(dff, id)
        end
   end
)

however i myself have not successfully replaced a dff without crashing the client so im not even sure if its possible

Link to comment

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...