RedM Natives

IS_SCREEN_FADED_OUT

Hash0xF5472C80DF2FF847
Runtime nameIsScreenFadedOut
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB16FCE9DDC7BA182

Signature

BOOL IS_SCREEN_FADED_OUT();

Returns BOOL

Usage

Lua
local retval = IsScreenFadedOut()

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

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

Sources

alloc8or RDR3 NativeDB

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