IS_SUBTITLE_PREFERENCE_SWITCHED_ON
Returns true if subtitles are enabled in the player's settings.
Signature
BOOL IS_SUBTITLE_PREFERENCE_SWITCHED_ON(); // 0x7C4AC9573587F2DF b1355Parameters
This native takes no parameters.
Facts
| Name | IS_SUBTITLE_PREFERENCE_SWITCHED_ON |
|---|---|
| Hash | 0x7C4AC9573587F2DF |
| Namespace | |
| Returns | BOOL |
| Game build | 1355 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x7C4AC9573587F2DF) -- IS_SUBTITLE_PREFERENCE_SWITCHED_ON
if result then
-- ...
endconst result = Citizen.invokeNative("0x7C4AC9573587F2DF", // IS_SUBTITLE_PREFERENCE_SWITCHED_ON
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x7C4AC9573587F2DF); // IS_SUBTITLE_PREFERENCE_SWITCHED_ONRelated HUD natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.