GET_CONVAR
Can be used to get a console variable of type `char*`, for example a string.
CFX
Signature
lua
GetConvar(varName, default_)
-- returns char*Parameters
| Name | Type | Description |
|---|---|---|
| char* | The console variable to look up. | |
| char* | The default value to set if none is found. |
Usage
lua
GetConvar(varName, default_)Details
- Hash
- API set
- Source
- cfx
Source: cfx
