Jump to content

custome skin DFF+TXD


BrianNZ

Recommended Posts

Seting a new model for a skin

I'm having a bit of trouble adding the new model

txd = engineLoadTXD("models/swat.txd") 
    engineImportTXD(txd, 285) 
  
dff = engineLoadDFF("models/swat.dff", 0) 
    engineReplaceModel(dff, 285) 

Models_client.lua ^

<meta> 
    <info author="Brian" name="Skins" version="1" type="gamemode" /> 
    <script src="spawn.lua" /> 
    <script src="models_client.lua" type="client" /> 
    <file src="models/swat.txd" /> 
    <file src="models/swat.dff" /> 
</meta> 

meta.XML ^

EDIT:

anyone haveing problems with the line

    showPlayerHudComponent ( source, "clock", false ) 

and

]    showPlayerHudComponent ( source, "radar", false ) 

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