isPedFleeing
IS_PED_FLEEING0xBBCCE00B381F8482The GTA V native IS_PED_FLEEING of the PED namespace, as LS:MP client scripts call it: the global function isPedFleeing, in JavaScript and in Lua.
isPedFleeing(ped: Ped): booleanisPedFleeing(ped: Ped): booleanUsage
JavaScript
const result = isPedFleeing(ped);Lua
local result = isPedFleeing(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_FLEEING(Ped ped)- Hash
0xBBCCE00B381F8482