Jump to content

Replacing CJ hair .dff files on server


xAkta

Recommended Posts

Posted

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.

Posted (edited)

For cj cloths and part use this 

dxCreateShader 
dxCreateTexture 
dxSetShaderValue 
engineApplyShaderToWorldTexture 

 

Edited by Dimos7

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...