SET_VISUAL_SETTING_FLOAT
Overrides a floating point value from `visualsettings.dat` temporarily.
CFX
Signature
lua
SetVisualSettingFloat(name, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| char* | The name of the value to set, such as `pedLight.color.red`. | |
| float | The value to write. |
Usage
lua
SetVisualSettingFloat(name, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
