_DOES_TEXT_BLOCK_EXIST
Returns true if the text block (text database) named textDatabase exists.
Signature
BOOL _DOES_TEXT_BLOCK_EXIST(const char* textDatabase); // 0x2C729F2B94CEA911 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | textDatabase | const char* |
Facts
| 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.
local result = Citizen.InvokeNative(0x2C729F2B94CEA911, -- _DOES_TEXT_BLOCK_EXIST
"text" -- const char* textDatabase
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x2C729F2B94CEA911", // _DOES_TEXT_BLOCK_EXIST
"text", // const char* textDatabase
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x2C729F2B94CEA911, // _DOES_TEXT_BLOCK_EXIST
"text" // const char* textDatabase
);Related HUD natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.