PedClient

isPedOnFoot

IS_PED_ON_FOOT0x01FEE67DB37F59B2

The GTA V native IS_PED_ON_FOOT of the PED namespace, as LS:MP client scripts call it: the global function isPedOnFoot, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_ON_FOOT(Ped ped)
Hash
0x01FEE67DB37F59B2

Open in the interactive natives reference