obsolete:lua:lua_getcvar
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>
obsolete/lua/lua_getcvar.txt · Last modified: 2023/09/03 18:43 by 127.0.0.1