isPedWeaponReadyToShoot
IS_PED_WEAPON_READY_TO_SHOOT0xB80CA294F2F26749The GTA V native IS_PED_WEAPON_READY_TO_SHOOT of the WEAPON namespace, as LS:MP client scripts call it: the global function isPedWeaponReadyToShoot, in JavaScript and in Lua.
isPedWeaponReadyToShoot(ped: Ped): booleanisPedWeaponReadyToShoot(ped: Ped): booleanUsage
JavaScript
const result = isPedWeaponReadyToShoot(ped);Lua
local result = isPedWeaponReadyToShoot(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Weapon WEAPON
- In the game
BOOL IS_PED_WEAPON_READY_TO_SHOOT(Ped ped)- Hash
0xB80CA294F2F26749