Jump to content

Editing skins HELP!!


XxJoexX

Recommended Posts

Posted

Ok, i edited the txd for him... heres the code i used.. but it doesnt replace it!!

Meta:

<meta>
<script src="client.lua" type="client" />
<file src="models/joeswoman.txd" />
</meta>

Script:

function clientsetup()
--SKIN REPLACEMENTS
local skin = engineLoadTXD ( "models/joeswoman.txd" ) --Joes woman
engineImportTXD ( skin, 140 )
end
addEventHandler("onClientResourceStart", getRootElement(), clientsetup)

But it doesn't seem to work!

Why doesnt this work and how do i fix it?

Posted
Anyone got any ideas?!

did you add it to meta.xml

are the paths to file correct (you did mistake last time)

etc

etc

or maybe you will start to use "debugscript 3" (type it in console) and watch out for error messages? most errors will be written there

Posted

Path = Perfect

Meta.xml was shown at the top of my first post.

about debugscript 3, the problem is... i dont have access to my console (my server is hosted on a server) I can only view what came up, not type stuff into it.

Posted

Do it in client game, when logged as admin/whatever that have access to "debugscript".. Small window will appear at the bottom and allow you to debug clientside scripts ingame (in server log you can't find client errors, just becouse its not client)

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