isPedPerformingMeleeAction
IS_PED_PERFORMING_MELEE_ACTION0xDCCA191DF9980FD7The GTA V native IS_PED_PERFORMING_MELEE_ACTION of the PED namespace, as LS:MP client scripts call it: the global function isPedPerformingMeleeAction, in JavaScript and in Lua.
isPedPerformingMeleeAction(ped: Ped): booleanisPedPerformingMeleeAction(ped: Ped): booleanUsage
JavaScript
const result = isPedPerformingMeleeAction(ped);Lua
local result = isPedPerformingMeleeAction(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_MELEE_ACTION(Ped ped)- Hash
0xDCCA191DF9980FD7