xAkta Posted November 17, 2018 Share Posted November 17, 2018 Hi, So I am trying to replace 4 CJ hair styles (.dff) on my server but each time I am doing so, I am getting this error message: [2018-11-16 22:34:56] WARNING: XXXstartup\engine.luac:36: Bad usage @ 'engineReplaceModel' [Model ID 30447 replace failed] [2018-11-16 22:34:56] WARNING: XXXstartup\engine.luac:36: Bad usage @ 'engineReplaceModel' [Model ID 30373 replace failed] [2018-11-16 22:34:56] WARNING: XXXstartup\engine.luac:36: Bad usage @ 'engineReplaceModel' [Model ID 30536 replace failed] [2018-11-16 22:34:56] WARNING: XXXstartup\engine.luac:36: Bad usage @ 'engineReplaceModel' [Model ID 30332 replace failed] [2018-11-16 22:34:56] WARNING: XXXstartup\engine.luac:36: Bad usage @ 'engineReplaceModel' [Model ID 30387 replace failed] I followed this way of adding them: https://wiki.multitheftauto.com/wiki/EngineImportTXD and got the model IDs from here: https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs So my script was like this: {30447, "slope.txd", "slope.dff"}, {30373, "highafro.txd", "highafro.dff"}, {30536, "wedge.txd", "wedge.dff"}, {30332, "elvishair.txd", "elvishair.dff"}, {30387, "jhericurl.txd", "jheri.dff"}, Any idea how to resolve this please? Is it possible to do what I am trying to do? Thanks. Link to comment
Dimos7 Posted November 17, 2018 Share Posted November 17, 2018 (edited) For cj cloths and part use this dxCreateShader dxCreateTexture dxSetShaderValue engineApplyShaderToWorldTexture Edited November 17, 2018 by Dimos7 Link to comment
Addlibs Posted November 17, 2018 Share Posted November 17, 2018 (edited) I believe he's concerned about DFFs, not textures. I dont think its possible use engineReplaceModel for clothes. Seems like only engineImportTXD allows IDs that high (or clothes names strings). Edited November 17, 2018 by MrTasty 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