isPedPerformingACounterAttack
IS_PED_PERFORMING_A_COUNTER_ATTACK0xEBD0EDBA5BE957CFThe GTA V native IS_PED_PERFORMING_A_COUNTER_ATTACK of the PED namespace, as LS:MP client scripts call it: the global function isPedPerformingACounterAttack, in JavaScript and in Lua.
isPedPerformingACounterAttack(ped: Ped): booleanisPedPerformingACounterAttack(ped: Ped): booleanUsage
JavaScript
const result = isPedPerformingACounterAttack(ped);Lua
local result = isPedPerformingACounterAttack(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_PERFORMING_A_COUNTER_ATTACK(Ped ped)- Hash
0xEBD0EDBA5BE957CF- Formerly
IS_PED_PERFORMING_DEPENDENT_COMBO_LIMIT