_TASK_DISEMBARK_VEHICLE
Based on its name and signature, here is our best reading:
Tasks a ped to disembark from vehicle.
Signature
void _TASK_DISEMBARK_VEHICLE(Any p0, Vehicle vehicle, int p2, Any p3, float p4, Any p5); // 0xA7C6854BB5A4192A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
| 2 | vehicle | Vehicle |
| 3 | p2 | int |
| 4 | p3 | Any |
| 5 | p4 | float |
| 6 | p5 | Any |
Facts
| 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.
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
)// 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
);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
);Related TASK natives
- _TASK_BOARD_VEHICLE
- _TASK_BOARD_VEHICLE_2
- _TASK_VEHICLE_ADD_NEXT_DESTINATION
- _TASK_VEHICLE_DRIVE_TO_COORD_2
- _TASK_VEHICLE_DRIVE_TO_DESTINATION_2
- _TASK_VEHICLE_DRIVE_TO_POINT_2
- _TASK_VEHICLE_FLEE_ON_CLEANUP
- _TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING_2
- _TASK_VEHICLE_IS_HEADING_TO_COORDS
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.