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.
VS Code and Cursor
Section titled “VS Code and Cursor”- Install the extension Lua by sumneko (LuaLS).
- Download gampeon.lua and put it in a folder of your resource, for example
.gampeon/. - Create
.luarc.jsonin your resource folder:
{ "runtime.version": "Lua 5.4", "workspace.library": [".gampeon"], "diagnostics.globals": []}Now AddEventHandler, CreateThread, exports and the rest show up with descriptions.
Other editors
Section titled “Other editors”Any editor that supports LuaLS (Neovim, Zed, JetBrains with the EmmyLua plugin) works with the same .luarc.json.
Let an AI check your code
Section titled “Let an AI check your code”An AI assistant connected through the MCP server can check a resource for missing files, forbidden functions and GTA natives before you publish it.