The Lab
PED native

_SET_PED_PROMPT_NAME_2

returns void2 paramsbuild 1207

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

A variant of _SET_PED_PROMPT_NAME that sets the prompt name of ped; how it differs is unclear.

Signature

C
void _SET_PED_PROMPT_NAME_2(Ped ped, const char* name); // 0x19B14E04B009E28B b1207

Parameters

#NameType
1pedPed
2nameconst char*

Facts

Facts about _SET_PED_PROMPT_NAME_2
Name
_SET_PED_PROMPT_NAME_2
Hash
0x19B14E04B009E28B
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(0x19B14E04B009E28B, -- _SET_PED_PROMPT_NAME_2
  PlayerPedId(), -- Ped ped
  "text" -- const char* name
)
JavaScript
Citizen.invokeNative("0x19B14E04B009E28B", // _SET_PED_PROMPT_NAME_2
  PlayerPedId(), // Ped ped
  "text" // const char* name
);
C#
Function.Call((Hash)0x19B14E04B009E28B, // _SET_PED_PROMPT_NAME_2
  API.PlayerPedId(), // Ped ped
  "text" // const char* name
);
All PED natives

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