Jump to content

help to Skin Script !!


basel-ksa

Recommended Posts

I'm work in script to Change Skin !

Like This Picture

http://dl.dropbox.com/u/6399783/Saudi/thop3.png

and i have 2 file

:1-hmyri.dff ...... 2-hmyri.txd

i m Make This Code :Skins.lua

  
function startResource( ) 
  txd = engineLoadTXD ( "hmyri.txd" ) 
      engineImportTXD ( txd, 46 ) 
   dff = engineLoadDFF ( "hmyri.dff" ) 
      engineImportDFF ( dff, 46 ) 
end 
addEventHandler( "onClientResourceStart", getResourceRootElement( ), startResource ) 
  

meta.xml

  
<meta> 
    <info name="skins-by-basel" version="1.4" type="misc"/> 
        <script src="Skins.lua" type="client" /> 
        <file src="hmyri.txd" /> 
        <file src="hmyri.dff" /> 
</meta> 

But it didnt work plz help to fix it : (

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