Gmod 13 - Any reason why it won't recognize my lua file?
4 replies, posted
So maybe I missed something, but for the life of me I can't figure out why Gmod won't see my lua file.
My file structure is:
garrysmod\garrysmod\addons\Enemy Hit Box\lua\autorun\*luafilehere*
from my understanding the name doesn't matter if it's placed in autorun. Did I miss something from switching to Gmod 13? It worked for me this way in the beta.
Or did I completely miss something super simple here?
[QUOTE=DoubleElite;38238913]
Or did I completely miss something super simple here?[/QUOTE]
You'll need to create a file called addon.txt in the addon folder with this content:
[CODE]
"AddonInfo"
{
"name" "YourAddonName"
"version" "1"
"info" "SenselessInformationAboutIt"
}
[/CODE]
Pfft, wow. Thanks dude, can't believe I forgot about that. Saved me a lot of trouble debugging my code!
i have to ask, why did my lua folder disappear, reinstalling didnt fix this. a little help?
Make a new one. It's okay to be empty because the GCF contains the game's default files for the lua folder.
Sorry, you need to Log In to post a reply to this thread.