> For the complete documentation index, see [llms.txt](https://docs.pasteware.team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pasteware.team/namespaces/config.md).

# config

## get\_bool( key ): bool

Returns a boolean from the specified key

| Type   | Name | Description                              |
| ------ | ---- | ---------------------------------------- |
| string | key  | The config variable you want to retrieve |

```
var raging = config.get_bool( "rage_aimbot_enabled" );
```

## get\_int( key ): int

Returns an integer from the specified key

| Type   | Name | Description                              |
| ------ | ---- | ---------------------------------------- |
| string | key  | The config variable you want to retrieve |

```
var limit = config.get_int( "rage_fakelag_limit" );
```

## get\_double( key ): double

Returns a double from the specified key

| Type   | Name | Description                              |
| ------ | ---- | ---------------------------------------- |
| string | key  | The config variable you want to retrieve |

```
var range = config.get_double( "rage_aa_jitter_range" );
```

## get\_float( key ): float

Returns a float from the specified key

| Type   | Name | Description                              |
| ------ | ---- | ---------------------------------------- |
| string | key  | The config variable you want to retrieve |

```
var random_update = config.get_float( "rage_aa_random_update" );
```

## get\_color( key ): color\_t

Returns a color from the specified key

| Type   | Name | Description                              |
| ------ | ---- | ---------------------------------------- |
| string | key  | The config variable you want to retrieve |

```
var ammo_color = config.get_color( "esp_enemies_ammo_color" );
```

## set\_bool( key, value )

Sets a boolean at the specified key

| Type    | Name  | Description                          |
| ------- | ----- | ------------------------------------ |
| string  | key   | The config variable you want to set  |
| boolean | value | The new value of the config variable |

```
config.set_bool( "rage_aimbot_enabled", true );
```

## set\_int( key, value )

Sets an integer at the specified key

| Type   | Name  | Description                          |
| ------ | ----- | ------------------------------------ |
| string | key   | The config variable you want to set  |
| int    | value | The new value of the config variable |

```
config.set_int( "rage_fakelag_limit", 6 );
```

## set\_double( key, value )

Sets a double at the specified key

| Type   | Name  | Description                          |
| ------ | ----- | ------------------------------------ |
| string | key   | The config variable you want to set  |
| double | value | The new value of the config variable |

```
config.set_double( "rage_aa_jitter_range", 65.35 );
```

## set\_float( key, value )

Sets a float at the specified key

| Type   | Name  | Description                          |
| ------ | ----- | ------------------------------------ |
| string | key   | The config variable you want to set  |
| float  | value | The new value of the config variable |

```
config.set_float( "rage_aa_random_update", 1.23 );
```

## set\_color( key, value )

Sets a color at the specified key

| Type     | Name  | Description                          |
| -------- | ----- | ------------------------------------ |
| string   | key   | The config variable you want to set  |
| color\_t | value | The new value of the config variable |

```
config.set_color( "esp_enemies_ammo_color", new color_t( 255, 0, 0, 255 ) );
```
