isDrivebyTaskUnderneathDrivingTask
IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK0x8785E6E40C7A8818The GTA V native IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK of the TASK namespace, as LS:MP client scripts call it: the global function isDrivebyTaskUnderneathDrivingTask, in JavaScript and in Lua.
isDrivebyTaskUnderneathDrivingTask(ped: Ped): booleanisDrivebyTaskUnderneathDrivingTask(ped: Ped): booleanUsage
JavaScript
const result = isDrivebyTaskUnderneathDrivingTask(ped);Lua
local result = isDrivebyTaskUnderneathDrivingTask(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Tasks TASK
- In the game
BOOL IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK(Ped ped)- Hash
0x8785E6E40C7A8818