canUseWeaponOnParachute
CAN_USE_WEAPON_ON_PARACHUTE0xBC7BE5ABC0879F74The GTA V native CAN_USE_WEAPON_ON_PARACHUTE of the WEAPON namespace, as LS:MP client scripts call it: the global function canUseWeaponOnParachute, in JavaScript and in Lua.
canUseWeaponOnParachute(weaponHash: Hash): booleancanUseWeaponOnParachute(weaponHash: Hash): booleanUsage
JavaScript
const result = canUseWeaponOnParachute(weaponHash);Lua
local result = canUseWeaponOnParachute(weaponHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
weaponHash | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
this returns if you can use the weapon while using a parachute
Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json
Reference
- Namespace
- Weapon WEAPON
- In the game
BOOL CAN_USE_WEAPON_ON_PARACHUTE(Hash weaponHash)- Hash
0xBC7BE5ABC0879F74