RedM Natives

IS_SUBTITLE_PREFERENCE_SWITCHED_ON

Hash0x7C4AC9573587F2DF
Runtime nameIsSubtitlePreferenceSwitchedOn
NamespaceHUD
SideClient
NameOfficial
Docs
Since build1355
GTA V hash0xAD6DACA4BA53E0A4

Signature

BOOL IS_SUBTITLE_PREFERENCE_SWITCHED_ON();

Returns BOOL

Usage

Lua
local retval = IsSubtitlePreferenceSwitchedOn()

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

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

Sources

alloc8or RDR3 NativeDB

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