The Lab
PED native

_SET_PED_PROMPT_NAME

returns void2 paramsbuild 1207

Sets the name name shown in prompts when interacting with ped.

Signature

C
void _SET_PED_PROMPT_NAME(Ped ped, const char* name); // 0x4A48B6E03BABB4AC b1207

Parameters

#NameType
1pedPed
2nameconst char*

Facts

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