SetWeaponJamState
Set the weapon jam state of the specified weapon
Argument | Data Type | Nedeed | Default | Description |
---|---|---|---|---|
weapon | number | - | The weapon hash | |
state | boolean | - | The jam state |
Example
local retval, weapon = GetCurrentPedWeapon(PlayerPedId())
exports["utility_weapons"]:SetWeaponJamState(weapon, true)