ChicoRDL Posted February 28, 2014 Share 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!!! Link to comment
Thorxx Posted March 1, 2014 Share Posted March 1, 2014 It might work by editing the textures. Link to comment
myonlake Posted March 1, 2014 Share 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. Link to comment
-.Paradox.- Posted March 1, 2014 Share 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. Link to comment
Castillo Posted March 1, 2014 Share 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. Link to comment
ChicoRDL Posted March 1, 2014 Author Share 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! Link to comment
Thorxx Posted March 1, 2014 Share Posted March 1, 2014 Do the same with: engineLoadDFF Link to comment
ChicoRDL Posted March 2, 2014 Author Share Posted March 2, 2014 Do the same with: engineLoadDFF I Will try Link to comment
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