disable_cvar_hook

Syntax

native disable_cvar_hook(cvarhook:handle);

Usage

handle
Forward to disable

Description

Disables a cvar hook, stopping it from being called.

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.