DonPro Posted April 2, 2016 Share Posted April 2, 2016 Hey MTA community! i get an error on nearly all lines of the replace script i got "Bad argument [Excepted (dff,txd,col) at argument 1, got boolean] i just wrote the error that comes up, but it comes up error on each of those, even the Engine import (Cant load EngineImportTXD,COL, etc) local txd = engineLoadTXD('files/bump.txd',true) engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/bump.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/bump.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 500) Link to comment
Walid Posted April 2, 2016 Share Posted April 2, 2016 Make sure that you add this in your meta.xml file <file src="files/bump.txd" /> <file src="files/bump.dff"/> <file src="files/bump.col" /> Link to comment
DonPro Posted April 2, 2016 Author Share Posted April 2, 2016 Make sure that you add this in your meta.xml file <file src="files/bump.txd" /> <file src="files/bump.dff"/> <file src="files/bump.col" /> lel, thanks, i found out that i cud not have Customobjects folder and then a files folder. so its working now! ty 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