iPanda Posted March 24, 2016 Share Posted March 24, 2016 Hello everyone! I have one problem with the replacement textures. Debugscript 3 shows an WARNING while trying to replace the texture using a TXD file. --I have file 'des_dirt1.txd' local txd = engineLoadTXD('des_dirt1.txd') engineImportTXD(txd,'des_dirt1') debugscript 3 WARNING: (path) : Bad 'number' pointer @ 'engineImportTXD'(2) The texture does not replace. What should I do? Link to comment
Captain Cody Posted March 24, 2016 Share Posted March 24, 2016 Secound line has to be an object "ID" not a texture. Link to comment
iPanda Posted March 25, 2016 Author Share Posted March 25, 2016 Why? When I wanted to replace the CJ clothes I pointed out the name of the texture of clothes. And it worked. --Example: local txd = engineLoadTXD('shirtbplaid.txd') engineImportTXD(txd,'shirtbplaid') Link to comment
Captain Cody Posted March 25, 2016 Share Posted March 25, 2016 That's because the clothing item names can be used instead of the ids https://wiki.multitheftauto.com/wiki/Cl ... ponent_IDs Other objects you have to use the actual id. 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