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

Difference between revisions of "cvar"

From Quake Wiki

(Initial draft.)
(No difference)

Revision as of 00:45, 25 July 2023

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.