RedM Natives

_SET_OBJECT_PROMPT_NAME

_SET_FORCE* - _SET_LOCAL*

Hash0xAEE6C800E124CFE1
Runtime nameSetObjectPromptName
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_OBJECT_PROMPT_NAME(Object object, const char* name);

Parameters

NameTypeDescription
objectObject—
nameconst char*—

Returns void

Description

alloc8or RDR3 NativeDB

_SET_FORCE* - _SET_LOCAL*

VORPCORE RDR3natives

Not official native name

Usage

Lua
SetObjectPromptName(object, name)

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

// by hash
Citizen.invokeNative('0xAEE6C800E124CFE1', object, name);
C#
Function.Call((Hash)0xAEE6C800E124CFE1, object, 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.