Skip to content

setNeonClientSetting

Client-side

Applies a resource-owned session override for an allowlisted San Andreas Online radar or SkyGFX setting.

Syntax

bool setNeonClientSetting(string name, bool|number|string value)

Arguments

namestring

Allowlisted setting name.

valuebool|number|string

Value with the type and range required by that setting.

Returns

true when the override was validated and applied; false otherwise.

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
  • Overrides never overwrite the player's saved preference.
  • Setting radar.style also applies the neutral San Andreas Online radar geometry baseline for that profile.
  • Later resource overrides stack; stopping a resource reveals the previous effective value.

Example

setNeonClientSetting("radar.style", "definitive")

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →