WeaponClient

setWeaponAoeModifier

SET_WEAPON_AOE_MODIFIER0x4AE5AC8B852D642C

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

SignatureJavaScript
setWeaponAoeModifier(weaponHash: Hash, multiplier: number): void
SignatureLua
setWeaponAoeModifier(weaponHash: Hash, multiplier: number)

Usage

JavaScript
setWeaponAoeModifier(weaponHash, multiplier);
Lua
setWeaponAoeModifier(weaponHash, multiplier)

Parameters

ParameterTypeJavaScriptLua
weaponHashHashnumberinteger
multiplierfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Weapon WEAPON
In the game
void SET_WEAPON_AOE_MODIFIER(Hash weaponHash, float multiplier)
Hash
0x4AE5AC8B852D642C
Introduced
Game build 2372 legacy numbering
Formerly
_SET_WEAPON_EXPLOSION_RADIUS_MULTIPLIER

Open in the interactive natives reference