Solstar Posted June 6, 2013 Share Posted June 6, 2013 i used this site http://mta.dzek.eu/ to create vehicles scripts out of mods,and they always worked nice.i used to put the folder of the cars in deathmatch\resourse as sugegsted in many websites\forums.i wanted to replace a player model,but no luck so far..i follwoed the same procedure of the cars all by myself since nor the above site or anyone else explained ever how to do it..and it doesn't work.once mta starts,i bring up the fr gui,change the skin to that one i changed in the site(a non special one of course,)number 148,and nothing,i still get the default 148 skin character.any help? Link to comment
Castillo Posted June 6, 2013 Share Posted June 6, 2013 Post the script and the meta.xml. Link to comment
Solstar Posted June 7, 2013 Author Share Posted June 7, 2013 just the xml file?here it is <meta> <info type="misc" name="Texture eplacement for ped ID: 148" author="Unknown" description="" version="1" /> <file src="148.txd" /> <script type="client" src="replace.lua" /> <script type="client" src="readme.lua" /> <!-- generated with [url=http://mta.dzek.eu/]http://mta.dzek.eu/[/url] --> </meta> and this is the replace.lua file.that's all it created txd = engineLoadTXD("148.txd") engineImportTXD(txd, 148) -- generated with [url=http://mta.dzek.eu/]http://mta.dzek.eu/[/url] Link to comment
Solstar Posted June 7, 2013 Author Share Posted June 7, 2013 so what's wrong in this script Link to comment
Castillo Posted June 7, 2013 Share Posted June 7, 2013 I believe that the problem is that you forgot to replace the DFF ( model ) aswell. Link to comment
Solstar Posted June 8, 2013 Author Share Posted June 8, 2013 and that's the main problem!the site i posted above only allow to substitute thw txd and not the dff!how can i add that line? Link to comment
Castillo Posted June 8, 2013 Share Posted June 8, 2013 You can use this resource for fast replacing of weapons, vehicles and skins: https://community.multitheftauto.com/in ... ls&id=3016 and the script part to replace model too: type="misc" name="Texture eplacement for ped ID: 148" author="Unknown" description="" version="1" /> "148.txd" /> "148.dff" /> txd = engineLoadTXD("148.txd") engineImportTXD(txd, 148) dff = engineLoadDFF("148.dff") engineReplaceModel(dff, 148) -- generated with [url=http://mta.dzek.eu/]http://mta.dzek.eu/[/url] 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