The Lab
TASK native

_TASK_DISEMBARK_VEHICLE

returns void6 paramsbuild 1207

Based on its name and signature, here is our best reading:

Tasks a ped to disembark from vehicle.

Signature

C
void _TASK_DISEMBARK_VEHICLE(Any p0, Vehicle vehicle, int p2, Any p3, float p4, Any p5); // 0xA7C6854BB5A4192A b1207

Parameters

#NameType
1p0Any
2vehicleVehicle
3p2int
4p3Any
5p4float
6p5Any

Facts

Facts about _TASK_DISEMBARK_VEHICLE
Name
_TASK_DISEMBARK_VEHICLE
Hash
0xA7C6854BB5A4192A
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xA7C6854BB5A4192A, -- _TASK_DISEMBARK_VEHICLE
  0, -- Any p0
  0, -- Vehicle vehicle
  0, -- int p2
  0, -- Any p3
  0.0, -- float p4
  0 -- Any p5
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xA7C6854BB5A4192A", // _TASK_DISEMBARK_VEHICLE
  0, // Any p0
  0, // Vehicle vehicle
  0, // int p2
  0, // Any p3
  0.0, // float p4
  0 // Any p5
);
C#
Function.Call((Hash)0xA7C6854BB5A4192A, // _TASK_DISEMBARK_VEHICLE
  0, // Any p0
  0, // Vehicle vehicle
  0, // int p2
  0, // Any p3
  0.0f, // float p4
  0 // Any p5
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.