> For the complete documentation index, see [llms.txt](https://rawetrip.gitbook.io/rawetrip-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rawetrip.gitbook.io/rawetrip-api/documentation/variables/cheat.md).

# cheat

## Functions:

### push\_callback

{% hint style="info" %}
Callbacks list: [Callbacks list](/rawetrip-api/documentation/common/callbacks-list.md)
{% endhint %}

`cheat.push_callback(callback: string, function: function)`

| Name         | Type           | Description |
| ------------ | -------------- | ----------- |
| **callback** | **`string`**   | callback    |
| **function** | **`function`** | function    |

Registers an event with the specified callback.

### popup

`cheat.popup(header: string, description: string)`

| Name            | Type         | Description |
| --------------- | ------------ | ----------- |
| **header**      | **`string`** | header      |
| **description** | **`string`** | description |

Calls a pop-up notification with the specified name and description.

### notify

`cheat.notify(text: string)`

| Name     | Type         | Description |
| -------- | ------------ | ----------- |
| **text** | **`string`** | text        |

Displays specific text on the screen and in the console.
