PedClient

isPedGettingIntoAVehicle

IS_PED_GETTING_INTO_A_VEHICLE0xBB062B2B5722478E

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_GETTING_INTO_A_VEHICLE(Ped ped)
Hash
0xBB062B2B5722478E

Open in the interactive natives reference