Jump to content

How to replace\change\select player skins


Solstar

Recommended Posts

Posted

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?

Posted

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] 

Posted

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?

Posted

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] 

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...