Skip to content

Cheat

Functions


RegisterCallback()

Parameters

Parameter Type Description
callback_name string Callback name
callback function Callback function
Example

1
2
3
Cheat.RegisterCallback("create_move",function()

end)
This code will be executed every time the cheat calls this function


CreateToast()

Parameters

Parameter Type Description
message string Message
type ToastType_t Type ( info, warning, error, success)
Example

1
Cheat.CreateToast("hello world",0)
This code will run once and will create a toast notification