RedM Natives

TEXT_BLOCK_IS_LOADED

Hash0xD0976CC34002DB57
Runtime nameTextBlockIsLoaded
NamespaceHUD
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL TEXT_BLOCK_IS_LOADED(const char* textBlock);

Parameters

NameTypeDescription
textBlockconst char*—

Returns BOOL

Usage

Lua
local retval = TextBlockIsLoaded(textBlock)

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

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

Sources

alloc8or RDR3 NativeDB

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