RedM Natives

DOES_TEXT_LABEL_EXIST

Checks if the passed gxt name exists in the game files.

Hash0x73C258C68D6F55B6
Runtime nameDoesTextLabelExist
NamespaceHUD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xAC09CA973C564252

Signature

BOOL DOES_TEXT_LABEL_EXIST(const char* label);

Parameters

NameTypeDescription
labelconst char*—

Returns BOOL

Description

Checks if the passed gxt name exists in the game files.

Usage

Lua
local retval = DoesTextLabelExist(label)

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

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

Sources

alloc8or RDR3 NativeDB

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