isPedDoingDriveby
IS_PED_DOING_DRIVEBY0xB2C086CC1BF8F2BFThe 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.
isPedDoingDriveby(ped: Ped): booleanisPedDoingDriveby(ped: Ped): booleanUsage
JavaScript
const result = isPedDoingDriveby(ped);Lua
local result = isPedDoingDriveby(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_DOING_DRIVEBY(Ped ped)- Hash
0xB2C086CC1BF8F2BF