RedM Natives

REMOVE_CONVAR_CHANGE_LISTENER

Hash0xEAC49841
Runtime nameRemoveConvarChangeListener
NamespaceCFX
SideClient + server
NameOfficial
Docs

Signature

void REMOVE_CONVAR_CHANGE_LISTENER(int cookie);

Parameters

NameTypeDescription
cookieint

The cookie returned from ADD_CONVAR_CHANGE_LISTENER

Returns void

Usage

Lua
RemoveConvarChangeListener(cookie)

-- always works, by hash
Citizen.InvokeNative(0xeac49841, cookie)
JavaScript and C#
JavaScript
RemoveConvarChangeListener(cookie);

// by hash
Citizen.invokeNative('0xeac49841', cookie);
C#
Function.Call((Hash)0xeac49841, cookie);

See also

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.