FlyingSpoon Posted April 2, 2019 Share Posted April 2, 2019 function test() txd = engineLoadTXD ( "head.txd" ) engineImportTXD ( txd, 30207 ) dff = engineLoadDFF ( "head.dff" ) engineReplaceModel ( dff, 30207 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), test) For the when the player switches the head to bald, it crashes MTA. Also says, Bad usage @ 'engineReplaceModel' [Model ID 30207 replace failed] Any ideas on what I may be doing wrong? Following the wiki. Link to comment
Dimos7 Posted April 2, 2019 Share Posted April 2, 2019 For change cj head you need dxCreateTexture dxCreateShader dxSetShaderValue engineApplyShaderToWorldTexture Link to comment
FlyingSpoon Posted April 2, 2019 Author Share Posted April 2, 2019 2 minutes ago, Dimos7 said: For change cj head you need dxCreateTexture dxCreateShader dxSetShaderValue engineApplyShaderToWorldTexture Yeah I already tried shaders, but CJ's face outline still stays there, like his big chin, jaw line, ears Link to comment
Dimos7 Posted April 2, 2019 Share Posted April 2, 2019 You need to replace them aswell Link to comment
FlyingSpoon Posted April 2, 2019 Author Share Posted April 2, 2019 2 minutes ago, Dimos7 said: You need to replace them aswell You can only replace CJ's face as a whole, yeah you can add a texture to make it look a little different but the outline is still there. Even if I make a different face, the jawline, face outline still resembles CJ. That's what I want to change basically. Link to comment
Dimos7 Posted April 2, 2019 Share Posted April 2, 2019 You can't use engine load at least that i know for sure Link to comment
FlyingSpoon Posted April 2, 2019 Author Share Posted April 2, 2019 3 minutes ago, Dimos7 said: You can't use engine load at least that i know for sure Any ideas on what I can do? 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