Jump to content

How to change swat txd


#Ivan7

Recommended Posts

see these are the files: biker.txd

bikerhelmet.txd

hoodyagreen.txd

tracketrgang.txd

zorro.txd

zorromask.dff

now example to change them would be this maybe:

[/lua]skins= {

["bikerhelmet"] = id,

["hoodyagreen"] = id,

["tracketrgang"] = id,

["zorro"] = id,

["zorromask] = id,

}

function replaceClothes()

for swat, id in pairs(texturi)

do

local txd = engineLoadTXD (swat..".txd") engineImportTXD(txd, id)

end

end[lua]

Link to comment

Nvm i fixed its error but see it doesnt show the new skin for some reason look this is how I did it

Client:

txd = engoneLoadTXD( "data/swat.txd") 
engineImportTXD (txd, 285 ) 
dff= engineLoadDFF ("data/swat.dff" ) 
engineReplaceModel ( dff, 285 ) 

Meta:

Please tell me what the problem is

Link to comment

Nvm i fixed its error but see it doesnt show the new skin for some reason look this is how I did it

Client:

txd = engoneLoadTXD( "data/swat.txd") 
engineImportTXD (txd, 285 ) 
dff= engineLoadDFF ("data/swat.dff" ) 
engineReplaceModel ( dff, 285 ) 

Meta:

Please tell me what the problem is

Link to comment

Nvm i fixed its error but see it doesnt show the new skin for some reason look this is how I did it

Client:

txd = engoneLoadTXD( "data/swat.txd") 
engineImportTXD (txd, 285 ) 
dff= engineLoadDFF ("data/swat.dff" ) 
engineReplaceModel ( dff, 285 ) 

Meta:

Please tell me what the problem is

Link to comment

Nvm i fixed its error but see it doesnt show the new skin for some reason look this is how I did it

Client:

txd = engoneLoadTXD( "data/swat.txd") 
engineImportTXD (txd, 285 ) 
dff= engineLoadDFF ("data/swat.dff" ) 
engineReplaceModel ( dff, 285 ) 

Meta:

Please tell me what the problem is

Link to comment

addEventHandler('onClientResourceStart', resourceRoot, 
function ( ) 
  txd = engineLoadTXD( "skins/swat.txd") 
 engineImportTXD (txd, 285 ) 
 dff= engineLoadDFF ("skins/swat.dff", 285) 
 engineReplaceModel ( dff, 285 ) 
outputChatBox ( ' * Swat Skin Replaced * ', 255, 255, 0 ) 
 end 
) 

Make sure the skins are in folder skins ..

Meta.xml

<meta> 
<info author="Name" type="script" version="1.0" name="Skin" /> 
<script src="sskinc.lua" type="client" /> 
<files src="skins/swat.txd"/> 
<files src="skins/swat.dff"/> 
</meta> 

Edited @

Edited by Guest
Link to comment
ah so i cant use those skins? hmm ok i will try new skin.. so its np with the codes, its just the skin file?

yeb the code is correct and the meta.xml is correct ,

the problem is with the skin files .. txd , dff need to fined a working ones ..

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