Dj_Deekay Posted October 12, 2012 Share Posted October 12, 2012 hi all 1. thy for reading this 2. my english isnt the best i think pls correct me if not so now my problem: i want to use new skins for swat and army .. i want to replace them so all can see them and have to download them now my scripts: <resource src="skins" startup="1" protected="0" /> (mta serverconf) function replaceSkins() txd = engineLoadTXD ( "swat.txd" ) engineImportTXD ( txd, 285) dff = engineLoadDFF ( "swat.dff", 285) engineReplaceModel ( dff, 285) xtxd = engineLoadTXD ( "skin.txd" ) engineImportTXD ( xtxd, 287) xdff = engineLoadDFF ( "skin.dff" ) engineReplaceModel ( xdff, 287) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceSkins) lua script for replacing and loading the dff,txd files <meta> <info author="janik schieschke" version="1.0" type="script" /> <script src="s_skins.lua" type="client" /> <file src="skin.dff" /> <file src="skin.txd" /> <file src="swat.dff" /> <file src="swat.txd" /> </meta> this is the meta.xml (yeaah you know my name now ^^) ERROR: Couldn't find resource skins. Check it exists. and this is what thelog tells me BUT the rar file name IS skins.rar so i cant understand why he cant find it? is my script buggy or the dff,txd files? pllls im not a lua pro and im new with my server i tried it with car mods and they work pls help Link to comment
TAPL Posted October 12, 2012 Share Posted October 12, 2012 As far as i know rar not working in MTA, you have to make it zip or folder. Link to comment
Dj_Deekay Posted October 12, 2012 Author Share Posted October 12, 2012 yes i saw this too before 5 mins but its already not working Link to comment
TAPL Posted October 12, 2012 Share Posted October 12, 2012 if you make it zip and still not working, mostly you have a folder inside the zip file. if you still can't get it work, upload your resource at http://www.mediafire.com i'll take a look. Link to comment
Moderators IIYAMA Posted October 12, 2012 Moderators Share Posted October 12, 2012 copie everything: .xml-.map-scripts and past in side a new folder. Link to comment
Baseplate Posted October 12, 2012 Share Posted October 12, 2012 Just put it in a folder lol... Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now