setWeaponEffectDurationModifier
SET_WEAPON_EFFECT_DURATION_MODIFIER0xE6D2CEDD370FF98EThe GTA V native SET_WEAPON_EFFECT_DURATION_MODIFIER of the WEAPON namespace, as LS:MP client scripts call it: the global function setWeaponEffectDurationModifier, in JavaScript and in Lua.
setWeaponEffectDurationModifier(p0: Hash, p1: number): voidsetWeaponEffectDurationModifier(p0: Hash, p1: number)Usage
JavaScript
setWeaponEffectDurationModifier(p0, p1);Lua
setWeaponEffectDurationModifier(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Hash | number | integer |
p1 | float | number | number |
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.
ex, setWeaponEffectDurationModifier(joaat("vehicle_weapon_mine_slick"), 1.0);
Reference
- Namespace
- Weapon WEAPON
- In the game
void SET_WEAPON_EFFECT_DURATION_MODIFIER(Hash p0, float p1)- Hash
0xE6D2CEDD370FF98E- Introduced
- Game build 2372 legacy numbering