Garry's Mod Wiki


Listed below are documents and sites that have helpful information about coding in Lua. If you ever become confused about something in Lua, check out one of these sources for help.

Official Lua References

Garry's Mod Lua GitHub

This is the base Lua code that is included in the official release of Garry's Mod. It's identical to the lua code found in the garrysmod folder on a fresh installation.

Unofficial Lua References

These sources could possibly be: Inaccurate, Outdated, or Obsolete.

The following references were not published by the Lua Development Team, but by other sources.

Other Resources

  • A script checker that supports Lua. However, it will not recognize Gmod-Specific commands & Variables.

  • GLuaLinter Web. A script checker that supports gLua.