TasksClient

isPedRunning

IS_PED_RUNNING0xC5286FFC176F28A2

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Tasks TASK
In the game
BOOL IS_PED_RUNNING(Ped ped)
Hash
0xC5286FFC176F28A2

Open in the interactive natives reference