The Lab
PED native

SET_PED_NAME_DEBUG

returns void2 paramsbuild 1207

Sets a debug name for ped, shown only in debug builds.

Signature

C
void SET_PED_NAME_DEBUG(Ped ped, const char* name); // 0x98EFA132A4117BE1 b1207

Parameters

#NameType
1pedPed
2nameconst char*

Facts

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