Jump to content

Replacing CJ skin?


rafael15420

Recommended Posts

You can change textures. You can't change models. Someone gave me a script of this:

The lua file:

(Afro for example)

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

I think you can make yourself a meta, but just in case:

    "Threule" version="1" type="script" /> 
    

You can get the IDs from here:

https://wiki.multitheftauto.com/wiki/Clo ... ponent_IDs

Link to comment
You can change textures. You can't change models. Someone gave me a script of this:

The lua file:

(Afro for example)

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

I think you can make yourself a meta, but just in case:

    "Threule" version="1" type="script" /> 
    

You can get the IDs from here:

https://wiki.multitheftauto.com/wiki/Clo ... ponent_IDs

and look here also

for more ideas only :

https://forum.multitheftauto.com/viewtopic.php?f=91&t=38174

Link to comment

Threule, did not work, anyway thanks

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

    "Threule" version="1" type="script" /> 
    

Link to comment

52x5xc.png

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

    "Threule" version="1" type="script" /> 
    

2agq53a.png

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