The Lab
OBJECT native

_SET_OBJECT_PROMPT_NAME

returns void2 paramsbuild 1207

Sets the name shown on interaction prompts for the object.

Signature

C
void _SET_OBJECT_PROMPT_NAME(Object object, const char* name); // 0xAEE6C800E124CFE1 b1207

Parameters

#NameType
1objectObject
2nameconst char*

Facts

Facts about _SET_OBJECT_PROMPT_NAME
Name
_SET_OBJECT_PROMPT_NAME
Hash
0xAEE6C800E124CFE1
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xAEE6C800E124CFE1, -- _SET_OBJECT_PROMPT_NAME
  0, -- Object object
  "text" -- const char* name
)
JavaScript
Citizen.invokeNative("0xAEE6C800E124CFE1", // _SET_OBJECT_PROMPT_NAME
  0, // Object object
  "text" // const char* name
);
C#
Function.Call((Hash)0xAEE6C800E124CFE1, // _SET_OBJECT_PROMPT_NAME
  0, // Object object
  "text" // const char* name
);
All OBJECT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.