PedClient

isPedFleeing

IS_PED_FLEEING0xBBCCE00B381F8482

The 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.

SignatureJavaScript
isPedFleeing(ped: Ped): boolean
SignatureLua
isPedFleeing(ped: Ped): boolean

Usage

JavaScript
const result = isPedFleeing(ped);
Lua
local result = isPedFleeing(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_FLEEING(Ped ped)
Hash
0xBBCCE00B381F8482

Open in the interactive natives reference