Jump to content

Replacing CJ skin?


Recommended Posts

CJ clothes can be replaced.

like example

textures = {  
["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) 

if you want cj clothes id here is the site

https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs

Link to comment
@ iMr.3a[Z]ef : You can replace CJ's clothes !

@ Threule : If you want a white CJ skin, Use ( engineLoadDFF - engineLoadTXD - engineImportTXD - engineReplaceModel ) .

But if you mean hes stat ( like fat, muscle, clothes, etc ... ) then use the function Castilo gave you .

I just want to know the IDs ;_;

I know how to do the replace thingy (is the only think i know lol)

Dude read my post.

https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs

Link to comment
@ iMr.3a[Z]ef : You can replace CJ's clothes !

@ Threule : If you want a white CJ skin, Use ( engineLoadDFF - engineLoadTXD - engineImportTXD - engineReplaceModel ) .

But if you mean hes stat ( like fat, muscle, clothes, etc ... ) then use the function Castilo gave you .

I just want to know the IDs ;_;

I know how to do the replace thingy (is the only think i know lol)

Dude read my post.

https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs

Somehow replacing torso, feet, legs and face crashes my game :/

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