Native referenceFiveM

EXPLODE_PED_HEAD

0x2D05CED3A38D0F3A PED
FUNCTION SIGNATURE
void EXPLODE_PED_HEAD(Ped ped, Hash weaponHash);
Property Value
Native Name EXPLODE_PED_HEAD
Hash 0x2D05CED3A38D0F3A
Return Type void
Parameters ped (Ped), weaponHash (Hash)

Description: Applies lethal damage (FLT_MAX) to the SKEL_Head bone of the specified ped using the weapon passed, leading to the ped's untimely demise.

The naming of the native is a legacy leftover (formerly EXPLODE_CHAR_HEAD in GTA3) as in the early 3D GTA games, lethal damage to a ped head would 'explode' it.

Do note that this native function does not work in multiplayer/network environment.

Parameters

  • ped (Ped) — The ped to lethally injure.
  • weaponHash (Hash) — The weapon to attribute the damage to.
Back to PED