PedClient

isPedDoingDriveby

IS_PED_DOING_DRIVEBY0xB2C086CC1BF8F2BF

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_DOING_DRIVEBY(Ped ped)
Hash
0xB2C086CC1BF8F2BF

Open in the interactive natives reference