I have been trying for quite a while to get something working inside my Lua code and it is a part of a gamemode.
I am trying to access lua files inside a folder called stuff inside my gamemode folder.
I have tried quite a few things and have not been able to get it to work.
[LUA]for k, v in pairs( file.FindinLua("–/gamemode/stuff/*.lua") ) do
Msg("Loaded Item: " … v)
if (SERVER) then AddCSLuaFile("items/" .. v); end;