isPedOnAnyBike
IS_PED_ON_ANY_BIKE0x94495889E22C6479The GTA V native IS_PED_ON_ANY_BIKE of the PED namespace, as LS:MP client scripts call it: the global function isPedOnAnyBike, in JavaScript and in Lua.
isPedOnAnyBike(ped: Ped): booleanisPedOnAnyBike(ped: Ped): booleanUsage
JavaScript
const result = isPedOnAnyBike(ped);Lua
local result = isPedOnAnyBike(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_ANY_BIKE(Ped ped)- Hash
0x94495889E22C6479