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!!! Retired of MTA Ex-Admin Minister of GTi GTi Open source - https://forum.mtasa.com/viewtopic.php?f=108&t=96020#p860833
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. If I helped you, please click the like button on the right Thanks!
-.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. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
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. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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! Retired of MTA Ex-Admin Minister of GTi GTi Open source - https://forum.mtasa.com/viewtopic.php?f=108&t=96020#p860833
-.Paradox.- Posted March 1, 2014 Posted March 1, 2014 I don't know about DFF If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
ChicoRDL Posted March 2, 2014 Author Posted March 2, 2014 Do the same with: engineLoadDFF I Will try Retired of MTA Ex-Admin Minister of GTi GTi Open source - https://forum.mtasa.com/viewtopic.php?f=108&t=96020#p860833
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