A ConVar is a configurable, named setting in the srcds console.
| Name | Description |
|---|---|
| AddChangeHook | Creates a hook for when a console variable's value is changed. |
| GetBounds | Retrieves the specified bound of a console variable. |
| GetDefault | Retrieves the default string value of a console variable. |
| GetDescription | Retrieves the description of a console variable. |
| GetName | Retrieves the name of a console variable. |
| GetString | Retrieves the string value of a console variable. |
| RemoveChangeHook | Removes a hook for when a console variable's value is changed. |
| ReplicateToClient | Replicates a convar value to a specific client. This does not change the actual convar value. |
| RestoreDefault | Resets the console variable to its default value. |
| SetBool | Sets the boolean value of a console variable. |
| SetBounds | Sets the specified bound of a console variable. |
| SetFloat | Sets the floating point value of a console variable. |
| SetInt | Sets the integer value of a console variable. |
| SetString | Sets the string value of a console variable. |
| Name | Type | Description |
|---|---|---|
| BoolValue | bool | Retrieves or sets a boolean value for the convar. |
| IntValue | int | Retrieves or sets an integer value for the convar. |
| FloatValue | float | Retrieves or sets a float value for the convar. |
| Flags | int | Gets or sets the flag bits (FCVAR_*) on the convar. |
| Plugin | Handle | Retrieves the plugin handle of the convar's creator |
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.