Jump to content

Skin mod


Minotaur

Recommended Posts

How can i put skins mods ill tryed all scripts and dont work... anyone can help me?

add your skins files that is .dff and .txd in your map folder

create a client script

txd = engineLoadTXD(your txd file name.txd") 
engineImportTXD(txd, ped id) 
dff = engineLoadDFF("your dff file name.dff", ped id) 
engineReplaceModel(dff, ped id) 

in meta

<file src="your txd file name.txd" /> 
    <file src="your dff file name.dff" /> 
    <script type="client" src="lua file name.lua" /> 
  

example ( this will replace a skin name aj with the the ped id 10)

txd = engineLoadTXD(aj.txd") 
engineImportTXD(txd, 10) 
dff = engineLoadDFF("aj.dff",10) 
engineReplaceModel(dff, 10) 

Link to comment

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