isPedRunning
IS_PED_RUNNING0xC5286FFC176F28A2The GTA V native IS_PED_RUNNING of the TASK namespace, as LS:MP client scripts call it: the global function isPedRunning, in JavaScript and in Lua.
isPedRunning(ped: Ped): booleanisPedRunning(ped: Ped): booleanUsage
JavaScript
const result = isPedRunning(ped);Lua
local result = isPedRunning(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Tasks TASK
- In the game
BOOL IS_PED_RUNNING(Ped ped)- Hash
0xC5286FFC176F28A2