REMOVE_CONVAR_CHANGE_LISTENER
Signature
void REMOVE_CONVAR_CHANGE_LISTENER(int cookie);Parameters
| Name | Type | Description |
|---|---|---|
cookie | int | The cookie returned from ADD_CONVAR_CHANGE_LISTENER |
Returns void
Usage
RemoveConvarChangeListener(cookie)
-- always works, by hash
Citizen.InvokeNative(0xeac49841, cookie)JavaScript and C#
RemoveConvarChangeListener(cookie);
// by hash
Citizen.invokeNative('0xeac49841', cookie);Function.Call((Hash)0xeac49841, cookie);See also
ADD_CONVAR_CHANGE_LISTENERAdds a listener for Console Variable changes.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.