The Lab
PED native

_SET_PED_PROMPT_NAME_FROM_GXT_ENTRY

returns void2 paramsbuild 1207

Sets the prompt name of ped from the text label gxtEntryHash.

Signature

C
void _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY(Ped ped, Hash gxtEntryHash); // 0xFCA8FB9E15FA80D3 b1207

Parameters

#NameType
1pedPed
2gxtEntryHashHash

Facts

Facts about _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY
Name
_SET_PED_PROMPT_NAME_FROM_GXT_ENTRY
Hash
0xFCA8FB9E15FA80D3
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(0xFCA8FB9E15FA80D3, -- _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash gxtEntryHash
)
JavaScript
Citizen.invokeNative("0xFCA8FB9E15FA80D3", // _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY
  PlayerPedId(), // Ped ped
  GetHashKey("name") // Hash gxtEntryHash
);
C#
Function.Call((Hash)0xFCA8FB9E15FA80D3, // _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY
  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.