The Lab
HUD native

_DOES_TEXT_BLOCK_EXIST

returns BOOL1 parambuild 1207

Returns true if the text block (text database) named textDatabase exists.

Signature

C
BOOL _DOES_TEXT_BLOCK_EXIST(const char* textDatabase); // 0x2C729F2B94CEA911 b1207

Parameters

#NameType
1textDatabaseconst char*

Facts

Facts about _DOES_TEXT_BLOCK_EXIST
Name
_DOES_TEXT_BLOCK_EXIST
Hash
0x2C729F2B94CEA911
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x2C729F2B94CEA911, -- _DOES_TEXT_BLOCK_EXIST
  "text" -- const char* textDatabase
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x2C729F2B94CEA911", // _DOES_TEXT_BLOCK_EXIST
  "text", // const char* textDatabase
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x2C729F2B94CEA911, // _DOES_TEXT_BLOCK_EXIST
  "text" // const char* textDatabase
);
All HUD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.