native

disable_cvar_hook

Syntax

native disable_cvar_hook(cvarhook:handle);

Description

Disables a cvar hook, stopping it from being called.

Parameters

handle Forward to disable

Note

Use the handle returned by hook_cvar_change as the parameter here.

Error

If an invalid hook handle is provided, an error will be
thrown.