Jump to content

Shaders..


Arsilex

Recommended Posts

Idk if shader can do it, but you culd try my script, replace the ["name"] with the name of the file you want to replace(without txd) and next to it write the file id(clothes id)

https://wiki.multitheftauto.com/wiki/Clo ... ponent_IDs here is the id's of clothing components.

you can add more lines of ["name"] = id.

  
textures = { 
["name"] = id, 
["name"] = id, 
["name"] = id, 
["name"] = id, 
} 
  
function replaceClothes() 
    for cloth, id in pairs(textures) do 
    local txd = engineLoadTXD(cloth..".txd") 
    engineImportTXD(txd, id) 
    end 
end 
addEventHandler("onClientResourceStart", resourceRoot, replaceClothes) 
  

Link to comment
  • 5 years later...

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