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