events

List of valid events that can be passed into the callback system.

Example:

This would execute the code in the function every overlay frame.

cheat.set_callback("paint", function()
    print("We\'re in the drawing thread!")
end)

Events:

paint

Fired every overlay frame, used to draw anything.

update

Fired every few milliseconds, primarily used for caching information.

update_slow

Fired every second, primarily used for caching information that is needed less frequently.

shutdown

Fired when a script is unloaded.

new_place

Fired when a new place is loaded.

config_save

Fired when a config is saved.

config_load

Fired when a config is loaded.

Fired when the menu is open or closed.

Last updated