> For the complete documentation index, see [llms.txt](https://neverlose.gitbook.io/neverlose/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neverlose.gitbook.io/neverlose/methods/cheatvar.md).

# CheatVar

**CheatVar** -- Cheat variable. Basically, allows you to get variables used in neverlose.cc menu. Designed to use the same API as Valve's ConVar.

List of all cheat variables [here](https://github.com/neverlosecc/api-documentation/blob/master/CheatVars.md). Can be found by [Config](https://github.com/neverlosecc/api-documentation/blob/master/Config.md) API.

## bool GetBool();

Return CheatVar value as an bool. Used In switches (checkboxes)

## float GetFloat();

Return CheatVar value as an float. Used in Sliders with floating point.

## int GetInt();

Return CheatVar value as an int. Used in Sliders with integer numbers.

## void SetBool(bool value);

Set CheatVar value as an bool. Used In switches (checkboxes)

## void SetInt(int value);

Set CheatVar value as an int. Used in Sliders with integer numbers.

## void SetFloat( float value);

Set CheatVar value as an float. Used in Sliders with floating point.
