getNeonClientSetting
Client-side
Reads one allowlisted effective San Andreas Online radar or SkyGFX setting.
Syntax
bool|number|string getNeonClientSetting(string name)Arguments
namestringAllowlisted radar.* or skygfx.* setting name.
Returns
The effective boolean, number, or string value; false for an unknown setting.
Ownership and lifecycle
Visual overrides belong to the calling client resource, stack by resource ownership, never replace the player's saved preferences, and are removed automatically when the resource stops.
Important behavior
- Readable settings include radar style/position/size and SkyGFX status/effect fields.
Where this comes from
SOURCECLuaClientDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaClientDefs.cpp INTRODUCED / EXTENDEDfb8ee02c4Read the commit and why the change was made
RELATED SA:O APIS
Read the system guide → Continue exploring
← Back to the SA:O Lua API · How San Andreas Online client visuals works →