Element666 Posted January 20, 2018 Share Posted January 20, 2018 Hey there community, I was wondering this morning if it's possible to change CJ character and clothes. I kinda wanted to change CJ skin to Franklin's and it did not work so I need some help. function onResourceStart() Face = engineLoadTXD ( "Franklin1/player_face.txd" ) engineImportTXD ( Face, 0 ) Face1 = engineLoadDFF ( "Franklin1/head.dff" ) engineReplaceModel ( Face1, 0 ) legs = engineLoadTXD ( "Franklin1/player_legs.txd" ) engineImportTXD ( legs, 0 ) hands = engineLoadDFF ( "Franklin1/head.dff" ) engineReplaceModel ( hands, 0 ) torso = engineLoadTXD ( "Franklin1/player_face.txd" ) engineImportTXD ( torso, 0 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) This is the code I used and when I execute the resource it says this. Quote WARNING: Character/Char.lua:9: Bad usage @ 'engineReplaceModel' [Model ID 0 replace failed] Link to comment
Captain Cody Posted January 21, 2018 Share Posted January 21, 2018 https://wiki.multitheftauto.com/wiki/Clothing_Component_IDs Link to comment
Gat Posted April 25, 2018 Share Posted April 25, 2018 (edited) Oh sorry Lee I mean the professional developer but you have to use the true IDs hhh [True IDs] Thnx is enough, Bye Edited April 25, 2018 by Gat 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