RedM Natives

EXPLODE_PED_HEAD

Forces the ped to fall back and kills it.

Hash0x2D05CED3A38D0F3A
Runtime nameExplodePedHead
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2D05CED3A38D0F3A

Signature

void EXPLODE_PED_HEAD(Ped ped, Hash weaponHash);

Parameters

NameTypeDescription
pedPed—
weaponHashHash—

Returns void

Description

Forces the ped to fall back and kills it.

It doesn't really explode the ped's head but it kills the ped

Usage

Lua
ExplodePedHead(ped, weaponHash)

-- always works, by hash
Citizen.InvokeNative(0x2D05CED3A38D0F3A, ped, weaponHash)
JavaScript and C#
JavaScript
ExplodePedHead(ped, weaponHash);

// by hash
Citizen.invokeNative('0x2D05CED3A38D0F3A', ped, weaponHash);
C#
Function.Call((Hash)0x2D05CED3A38D0F3A, ped, weaponHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.