Dice Posted April 10, 2013 Share Posted April 10, 2013 Hi, how the hell do i replace this https://wiki.multitheftauto.com/wiki/File:Skinid75.jpg with let's say a predator skin. the names of the predators predator.dff predator.txd i know what functions to use.. https://wiki.multitheftauto.com/wiki/EngineImportTXD and LOAD one put how the hell do i do it? how do i get the string filepath for that. Link to comment
xXMADEXx Posted April 10, 2013 Share Posted April 10, 2013 Use https://community.multitheftauto.com/index.php?p=resources&s=details&id=3016 Link to comment
iPrestege Posted April 10, 2013 Share Posted April 10, 2013 Here You Are Ex : addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD("File.txd") engineImportTXD(txd,SkinID) dff = engineLoadDFF("File.dff",SkinID) engineReplaceModel(dff,SkinID) end ) Link to comment
Dice Posted April 10, 2013 Author Share Posted April 10, 2013 Here You Are Ex : addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD("File.txd") dff = engineLoadDFF("File.dff",SkinID) end ) What is that first parameter ? is that the filepath for where it is in the resource???? or in the gtasa folder if its the gta sa folder then i have no idea what it is. Link to comment
iPrestege Posted April 10, 2013 Share Posted April 10, 2013 No it's ur file that u put the skin on it ex ; addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() txd = engineLoadTXD("SkinMonster.txd") dff = engineLoadDFF("SkinMonster.dff",100) end ) Link to comment
Dice Posted April 10, 2013 Author Share Posted April 10, 2013 Its not working this is what i have assuming i have to replace https://wiki.multitheftauto.com/wiki/File:Skinid75.jpg addEventHandler("onClientResourceStart", resourceRoot, function() txd = engineLoadTXD("predaror.txd") engineImportTXD(txd,75) dff = engineLoadDFF("predaror.dff",75) engineReplaceModel(dff,75) end ) Link to comment
Castillo Posted April 10, 2013 Share Posted April 10, 2013 Post the meta.xml content. Link to comment
Dice Posted April 11, 2013 Author Share Posted April 11, 2013 Forgot to come back and say that it was the meta Yeah that was the issue figured it out hours ago =D you smart bastard! lol Thanks 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