Getting started

Getting started

Getting started with LUA scripting

Get a text editor

Visual Studio (opens in a new tab)
Sublime (opens in a new tab) (opens in a new tab)

Install a plugin for enabling LUA support in your editor

For Visual Studio code you can use EmmyLua (opens in a new tab).

Download our LUA SDK

If you have git installed, the LUA SDK will be automatically downloaded and updated to <lua-folder>/types.

You can manually download the SDK for your LUA api here (opens in a new tab).

Register your first callback

cheat.on("renderer.draw", function()
print("hello from render callback")

Ues LUA libraries from other developers

-- example
-- loads "extra_math" fron <lua-folder>/lib
local extra_math = require("extra_math")