The Lab
OBJECT native

_SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY

returns void2 paramsbuild 1207

Sets the prompt name of the object from a text label hash.

Signature

C
void _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY(Object object, Hash name); // 0xD503D6F0986D58BC b1207

Parameters

#NameType
1objectObject
2nameHash

Facts

Facts about _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
Name
_SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
Hash
0xD503D6F0986D58BC
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(0xD503D6F0986D58BC, -- _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
  0, -- Object object
  GetHashKey("name") -- Hash name
)
JavaScript
Citizen.invokeNative("0xD503D6F0986D58BC", // _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
  0, // Object object
  GetHashKey("name") // Hash name
);
C#
Function.Call((Hash)0xD503D6F0986D58BC, // _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
  0, // Object object
  (uint)API.GetHashKey("name") // Hash name
);
All OBJECT natives

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