isPedOnFoot
IS_PED_ON_FOOT0x01FEE67DB37F59B2The 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.
isPedOnFoot(ped: Ped): booleanisPedOnFoot(ped: Ped): booleanUsage
JavaScript
const result = isPedOnFoot(ped);Lua
local result = isPedOnFoot(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_ON_FOOT(Ped ped)- Hash
0x01FEE67DB37F59B2