Table of Contents

Lua GetCVar

string GetCVar( string cvarName );

Description

Gets the value of a cvar and returns it as a string. Returns “NULL CVAR” if cvar not found.

Version

Beta 3.1

Example

<lua> local warmUp = tonumber( GetCVar(“gg_warmup”) ); </lua>