Jump to content

unable to use engineImportTXD


Egekan

Recommended Posts

I've a server to test customskins I've made. The script works fine with skinid:217.

Whenever I try to use the same code on id:141 or id:283, it doesn't work at all. engineApplyShaderToWorldTexture is not working aswell, I've made some sultan paintjobs by using the function before. So I know how to use it.

Script:

function staffskin(plr)
txtstaff = engineLoadTXD("csher.txd")
engineImportTXD(txtstaff,283)
txtstaff = engineLoadTXD("skin2.txd")
engineImportTXD(txtstaff,141)
end
addCommandHandler("marineskin",staffskin)

 

Meta:

<meta>
    <script src="joinquit.lua" type="client" />
    <file src="csher.txd" />
    <file src="skin2.txd" />
</meta>

 

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