crismar Posted May 13, 2014 Posted May 13, 2014 Howdy. I've a couple of mods on my server, mainly for weapons and I have this totally strange issue: engineReplaceModel works for everything but AK-47 and Sanchez which simply don't want to work. I get this bunch of errors: And here are the trboule-making lines: -- For the AK-47, yes, 355.txd and 355.dff EXIST txd = engineLoadTXD("355.txd") engineImportTXD(txd, 355) dff = engineLoadDFF("355.dff", 355) engineReplaceModel(dff, 355) -- For the Sanchez, the .txd and .dff EXIST txd = engineLoadTXD("468.txd") engineImportTXD(txd, 468) dff = engineLoadDFF("468.dff", 468) engineReplaceModel(dff, 468) I mention I am using the same 4 lines of code for multiple modsa and the script only fails for Sanchez and Ak-47 (which aren't even one after another, so you can't say they are connected). Ideas ? This is the strangest issue I have ever had. Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
Moderators IIYAMA Posted May 13, 2014 Moderators Posted May 13, 2014 Well corrupted mods, ever heard of that? Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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