isPedInAnyTaxi
IS_PED_IN_ANY_TAXI0x6E575D6A898AB852The GTA V native IS_PED_IN_ANY_TAXI of the PED namespace, as LS:MP client scripts call it: the global function isPedInAnyTaxi, in JavaScript and in Lua.
isPedInAnyTaxi(ped: Ped): booleanisPedInAnyTaxi(ped: Ped): booleanUsage
JavaScript
const result = isPedInAnyTaxi(ped);Lua
local result = isPedInAnyTaxi(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_IN_ANY_TAXI(Ped ped)- Hash
0x6E575D6A898AB852