GET_CONVAR_FLOAT
This will have floating point inaccuracy.
CFX
Signature
lua
GetConvarFloat(varName, 0.0)
-- returns floatParameters
| Name | Type | Description |
|---|---|---|
| char* | The console variable to get | |
| float | The default value to set, if none are found. |
Usage
lua
GetConvarFloat(varName, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
