Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

cvar

From Quake Wiki

Revision as of 00:45, 25 July 2023 by Eukara (talk | contribs) (Initial draft.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

float cvar(string name)

Get the value of a named cvar. In order to get string values, you'll have to use a custom engine that supports the cvar_string builtin.

Parameters:

name - Name of the cvar to query.

Returns:

Returns the numeric value of the named cvar.