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