WeaponClient

explodeProjectiles

EXPLODE_PROJECTILES0xFC4BD125DE7611E4

The GTA V native EXPLODE_PROJECTILES of the WEAPON namespace, as LS:MP client scripts call it: the global function explodeProjectiles, in JavaScript and in Lua.

SignatureJavaScript
explodeProjectiles(ped: Ped, weaponHash: Hash, instant: boolean): void
SignatureLua
explodeProjectiles(ped: Ped, weaponHash: Hash, instant: boolean)

Usage

JavaScript
explodeProjectiles(ped, weaponHash, instant);
Lua
explodeProjectiles(ped, weaponHash, instant)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
weaponHashHashnumberinteger
instantBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Weapon WEAPON
In the game
void EXPLODE_PROJECTILES(Ped ped, Hash weaponHash, BOOL instant)
Hash
0xFC4BD125DE7611E4

Open in the interactive natives reference