setPedStunGunFiniteAmmo
SET_PED_STUN_GUN_FINITE_AMMO0x24C024BA8379A70AThe GTA V native SET_PED_STUN_GUN_FINITE_AMMO of the WEAPON namespace, as LS:MP client scripts call it: the global function setPedStunGunFiniteAmmo, in JavaScript and in Lua.
setPedStunGunFiniteAmmo(p0: any, p1: any): voidsetPedStunGunFiniteAmmo(p0: any, p1: any)Usage
JavaScript
setPedStunGunFiniteAmmo(p0, p1);Lua
setPedStunGunFiniteAmmo(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Any | any | any |
p1 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Weapon WEAPON
- In the game
void SET_PED_STUN_GUN_FINITE_AMMO(Any p0, Any p1)- Hash
0x24C024BA8379A70A- Introduced
- Game build 1868 legacy numbering