Jump to content

Replacing Skins


Dice

Recommended Posts

Posted

Here You Are Ex :

addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),  
function() 
  txd = engineLoadTXD("File.txd") 
  engineImportTXD(txd,SkinID) 
  dff = engineLoadDFF("File.dff",SkinID) 
  engineReplaceModel(dff,SkinID) 
end 
) 

  

Posted
Here You Are Ex :

addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),  
function() 
  txd = engineLoadTXD("File.txd") 
  dff = engineLoadDFF("File.dff",SkinID) 
end 
) 

What is that first parameter ? is that the filepath for where it is in the resource???? or in the gtasa folder if its the gta sa folder then i have no idea what it is.

Posted

No it's ur file that u put the skin on it ex ;

addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),  
function() 
  txd = engineLoadTXD("SkinMonster.txd") 
  dff = engineLoadDFF("SkinMonster.dff",100) 
end 
) 

  

Posted

Post the meta.xml content.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Forgot to come back and say that it was the meta

Yeah that was the issue figured it out hours ago =D you smart bastard! lol

Thanks

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