include
Example
Demonstrates correct and incorrect usage.
Example
Specify a base folder and recursively include client, shared and server files without having to specify them.
Executes a Lua script.
..
notation).
This function will try to load local client file if sv_allowcslua
is 1.
If the file you are including is clientside or shared, it must be AddCSLuaFile'd or this function will error saying the file doesn't exist.
lua/config.lua
in your addon may be overwritten by the same file in another addon.Demonstrates correct and incorrect usage.
Specify a base folder and recursively include client, shared and server files without having to specify them.