native

enable_cvar_hook

Syntax

native enable_cvar_hook(cvarhook:handle);

Description

Enables a cvar hook, restoring it to being called.

Parameters

handle Forward to enable

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.