Jump to content

Need help with custom player models


Recommended Posts

So I'm trying to add a custom player model to my MTA server however I'm not entirely sure how to add one

I created a folder in server\mods\deathmatch\resources named "[skins]" - Should this be here?

and in that I made the zip containing both the .dff and .txd files for the skin and the meta.xml file

this is what the meta.xml does

function Model()

txd = engineLoadTXD("tigar1.txd", 15 )

engineImportTXD(txd, 15)--

dff = engineLoadDFF("tigar1.dff", 15 )

engineReplaceModel(dff, 15)--

end

addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), Model)

I launched the game and start my server, I enter the game and I check the console and it says the resource I made does not exist? and I try using the skin thing and use id 15 and its just the default skin for id 15

Please let me know what I am doing wrong :)

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