The Lab
PED native

_FORCE_PED_DEATH

returns void3 paramsbuild 1207

Kills ped immediately, crediting pedKiller with the kill using weapon.

Signature

C
void _FORCE_PED_DEATH(Ped ped, Ped pedKiller, Hash weapon); // 0x1CE875505D45338A b1207

Parameters

#NameType
1pedPed
2pedKillerPed
3weaponHash

Facts

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

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