RedM Natives

IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK

Hash0x8785E6E40C7A8818
Runtime nameIsDrivebyTaskUnderneathDrivingTask
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8785E6E40C7A8818

Signature

BOOL IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsDrivebyTaskUnderneathDrivingTask(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x8785E6E40C7A8818, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsDrivebyTaskUnderneathDrivingTask(ped);

// by hash
const retval = Citizen.invokeNative('0x8785E6E40C7A8818', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x8785E6E40C7A8818, ped);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.