The Lab
PED native

_SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

A variant of _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY; how it differs is unclear.

Signature

C
void _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2(Ped ped, Hash gxtEntryHash); // 0xC2745D9261664901 b1207

Parameters

#NameType
1pedPed
2gxtEntryHashHash

Facts

Facts about _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2
Name
_SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2
Hash
0xC2745D9261664901
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(0xC2745D9261664901, -- _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash gxtEntryHash
)
JavaScript
Citizen.invokeNative("0xC2745D9261664901", // _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2
  PlayerPedId(), // Ped ped
  GetHashKey("name") // Hash gxtEntryHash
);
C#
Function.Call((Hash)0xC2745D9261664901, // _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY_2
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash gxtEntryHash
);
All PED natives

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