PedClient

isPedInAnyTaxi

IS_PED_IN_ANY_TAXI0x6E575D6A898AB852

The 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.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_ANY_TAXI(Ped ped)
Hash
0x6E575D6A898AB852

Open in the interactive natives reference