Stanley Sathler Posted June 5, 2012 Posted June 5, 2012 Normally I use this code to replace skins (peds), vehicles or objects: SkinTXD = engineLoadTXD(txd_file) engineImportTXD(SkinTXD, 235) SkinDFF = engineLoadDFF(dff_file, 235) engineReplaceModel(SkinDFF, 235) For use these functions, I need set the Model ID of the object that it will be applied. I tried search on CJ Clothes page (on Wiki) and I not found the Model ID of tattoos (I found things like this: "Model: 8gun", but the model to use in function must be a integer). How can I replace the tattoos loading a new .txd file? Thanks, Sathler. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
Castillo Posted June 6, 2012 Posted June 6, 2012 I'm not sure if you can replace CJ Clothes. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
X-SHADOW Posted June 6, 2012 Posted June 6, 2012 He Can replace every thing on Cj tattoos and clothes https://wiki.multitheftauto.com/wiki/CJ_Clothes My ingame nickname : Ops! -DeathMatch GameMode By Ops! : 5%
Stanley Sathler Posted June 6, 2012 Author Posted June 6, 2012 X-Shadow, I think you did not read what I wrote. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
X-SHADOW Posted June 6, 2012 Posted June 6, 2012 You Want the Model id for tattos right ? My ingame nickname : Ops! -DeathMatch GameMode By Ops! : 5%
Stanley Sathler Posted June 6, 2012 Author Posted June 6, 2012 Yes. But I need an integer, for use in the functions. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
50p Posted June 6, 2012 Posted June 6, 2012 The only way I can think of is to create a shader to replace them. Then you can use https://wiki.multitheftauto.com/wiki/Eng ... rldTexture and use texture name. Have a look here as well https://wiki.multitheftauto.com/wiki/Shader_examples - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
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