ChicoRDL Posted February 28, 2014 Posted February 28, 2014 I'm here to ask per help!!! I read a few posts about this, but i saw all people talk, doesn't work!! So. I tested the same codes about car and skins mods, but not work with the Cj Clothes!!! Someone Can Help me with a Example of on resource how to put CJ Clothes Mods in My Server?!?!? I need know how!!!
myonlake Posted March 1, 2014 Posted March 1, 2014 Pretty much like this; https://wiki.multitheftauto.com/wiki/EngineImportTXD and the sub-functions below that, combined with https://wiki.multitheftauto.com/wiki/Cl ... ponent_IDs.
-.Paradox.- Posted March 1, 2014 Posted March 1, 2014 textures = { ["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) https://wiki.multitheftauto.com/wiki/Cl ... ponent_IDs Every clothing component has an id next to it.
Castillo Posted March 1, 2014 Posted March 1, 2014 I'm not sure if that will work, if I'm right, you can't replace the CJ clothes itself, but you can use shaders to make your "own" clothes.
ChicoRDL Posted March 1, 2014 Author Posted March 1, 2014 textures = { ["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) https://wiki.multitheftauto.com/wiki/Cl ... ponent_IDs Every clothing component has an id next to it. Ok, I can try that! But and about the Dff files?!?! But I need add the dff files too!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now