• Autorun LUA file renaming error
    2 replies, posted
I have a common problem whenever I try to rename an LUA file. Right now, it's a file for my vehicle, the LUA file. If I don't rename it, it will overwrite another file of the same name. If I change the name though, I get these two LUA lines when I run the game: LuaGetfile: Not Loading autorun/Vehicletest.lua Couldn't include file 'autorun/Vehicletest.lua' (File not found) I HAVE to rename this file, or it will conflict with another one, and won't work. Can someone help me with this issue? Theres a second file I'm having trouble with too, and it's renaming the material files (the ones with texts). If I rename them, the textures don't appear on my vehicle. If I could get help with that as well, it would be helpful.
That means either this autorun file is including itself under the wrong name, or another file is. It's probably the first one. Open the file and see if it references the old filename, if so then correct it.
[QUOTE=Crazy Quebec;20947530]That means either this autorun file is including itself under the wrong name, or another file is. It's probably the first one. Open the file and see if it references the old filename, if so then correct it.[/QUOTE] I had tried that before. I scoured through autorun, and the script. Everywhere it said the original name, I changed it to the new one. It still didn't work.
Sorry, you need to Log In to post a reply to this thread.