RedM Natives

IS_RADAR_PREFERENCE_SWITCHED_ON

Hash0x81E47F0EE1F2B21E
Runtime nameIsRadarPreferenceSwitchedOn
NamespaceHUD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9EB6522EA68F22FE

Signature

BOOL IS_RADAR_PREFERENCE_SWITCHED_ON();

Returns BOOL

Usage

Lua
local retval = IsRadarPreferenceSwitchedOn()

-- always works, by hash
local retval = Citizen.InvokeNative(0x81E47F0EE1F2B21E, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsRadarPreferenceSwitchedOn();

// by hash
const retval = Citizen.invokeNative('0x81E47F0EE1F2B21E', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x81E47F0EE1F2B21E);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.