Skip to content
GAMPEONCreate
New project
Preview: this works today, but details can still change.

Editor setup

The GAMPEON SDK ships type definitions for the Lua Language Server (LuaLS). With them, your editor completes GAMPEON functions, shows their documentation and warns about mistakes.

  1. Install the extension Lua by sumneko (LuaLS).
  2. Download gampeon.lua and put it in a folder of your resource, for example .gampeon/.
  3. Create .luarc.json in your resource folder:
.luarc.json
{
"runtime.version": "Lua 5.4",
"workspace.library": [".gampeon"],
"diagnostics.globals": []
}

Now AddEventHandler, CreateThread, exports and the rest show up with descriptions.

Any editor that supports LuaLS (Neovim, Zed, JetBrains with the EmmyLua plugin) works with the same .luarc.json.

An AI assistant connected through the MCP server can check a resource for missing files, forbidden functions and GTA natives before you publish it.

Report a problem with this pageOther ways to give feedback