Jump to content

Skin replacement problem


Kasem

Recommended Posts

Well,lately I've been trying to replace a skin,and when I start/restart the resource the skin flashes and gets to normal without replacing anything,

    addEventHandler("onClientResourceStart",resourceRoot, 
    function () 
    txd = engineLoadTXD("285.txd") 
    engineImportTXD(txd, 285) 
    end) 

Link to comment
  • Moderators

Maybe another resource is overriding that skin ?

Try to add the "local" keyword in front of the txd variable (but I'm pretty sure that's not the problem):

local txd = engineLoadTXD("285.txd") 

Also check if you added that txd file to your meta.xml (but I think you did).

Any client-side error ? Maybe the txd file contains errors or isn't a valid one so mta rollback to the default skin ?

Regards,

Citizen

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