TasksClient

isPedWalking

IS_PED_WALKING0xDE4C184B2B9B071A

The GTA V native IS_PED_WALKING of the TASK namespace, as LS:MP client scripts call it: the global function isPedWalking, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Tasks TASK
In the game
BOOL IS_PED_WALKING(Ped ped)
Hash
0xDE4C184B2B9B071A

Open in the interactive natives reference