explodePedHead
EXPLODE_PED_HEAD0x2D05CED3A38D0F3AThe GTA V native EXPLODE_PED_HEAD of the PED namespace, as LS:MP client scripts call it: the global function explodePedHead, in JavaScript and in Lua.
explodePedHead(ped: Ped, weaponHash: Hash): voidexplodePedHead(ped: Ped, weaponHash: Hash)Usage
JavaScript
explodePedHead(ped, weaponHash);Lua
explodePedHead(ped, weaponHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
weaponHash | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Forces the ped to fall back and kills it.
It doesn't really explode the ped's head but it kills the ped
Reference
- Namespace
- Ped PED
- In the game
void EXPLODE_PED_HEAD(Ped ped, Hash weaponHash)- Hash
0x2D05CED3A38D0F3A