AddConvarChangeListener — RedM Natives
0xAB7F7241 · CFX · shared
Adds a listener for Console Variable changes. The function called expects to match the following signature: ``ts function ConVarChangeListener(conVarName: string, reserved: any); `` conVarName: The ConVar that changed. reserved: Currently unused.
Parameters
| Name | Type | Description |
|---|---|---|
| conVarFilter | char* | The Console Variable to listen for, this can be a pattern like "test:\*", or null for any |
| handler | func | The handler function. |
Returns
int