RedM Natives

_GET_LABEL_TEXT_2

_GET_FILENAME_* - _GET_FRAME*

Hash0x3429670F9B9EF2D3
Runtime nameGetLabelText_2
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

const char* _GET_LABEL_TEXT_2(const char* label);

Parameters

NameTypeDescription
labelconst char*—

Returns const char*

Description

_GET_FILENAME_* - _GET_FRAME*

Usage

Lua
local retval = GetLabelText_2(label)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3429670F9B9EF2D3, label, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = GetLabelText_2(label);

// by hash
const retval = Citizen.invokeNative('0x3429670F9B9EF2D3', label, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0x3429670F9B9EF2D3, label);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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