Amnesia/Lua/

GTA V Enhanced

Lua

GTA V Enhanced Lua

Use the left menu to switch between overview and API documentation.

Overview

General rules that apply to every Lua script for this game, whether it lives in the root folder or a plugin.

Quick facts

  • Auto-loads from LUAs/ and LUAs/plugins.
  • Each script runs in its own global environment.
  • __PLUGIN_ID is the script path relative to LUAs/.
  • amnesia is injected globally (no require needed).