RedM Natives

_SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY

_SET_FORCE* - _SET_LOCAL*

Hash0xD503D6F0986D58BC
Runtime nameSetObjectPromptNameFromGxtEntry
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY(Object object, Hash name);

Parameters

NameTypeDescription
objectObject—
nameHash—

Returns void

Description

alloc8or RDR3 NativeDB

_SET_FORCE* - _SET_LOCAL*

VORPCORE RDR3natives

Not official native name

Usage

Lua
SetObjectPromptNameFromGxtEntry(object, name)

-- always works, by hash
Citizen.InvokeNative(0xD503D6F0986D58BC, object, name)
JavaScript and C#
JavaScript
SetObjectPromptNameFromGxtEntry(object, name);

// by hash
Citizen.invokeNative('0xD503D6F0986D58BC', object, name);
C#
Function.Call((Hash)0xD503D6F0986D58BC, object, name);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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 · VORPCORE RDR3natives

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