PedClient

isPedTryingToEnterALockedVehicle

IS_PED_TRYING_TO_ENTER_A_LOCKED_VEHICLE0x44D28D5DDFE5F68C

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_TRYING_TO_ENTER_A_LOCKED_VEHICLE(Ped ped)
Hash
0x44D28D5DDFE5F68C

Open in the interactive natives reference