RedM Natives

_TASK_DISEMBARK_VEHICLE

Hash0xA7C6854BB5A4192A
Runtime nameTaskDisembarkVehicle
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _TASK_DISEMBARK_VEHICLE(Any p0, Vehicle vehicle, int p2, Any p3, float p4, Any p5);

Parameters

NameTypeDescription
p0Any—
vehicleVehicle—
p2int—
p3Any—
p4float—
p5Any—

Returns void

Usage

Lua
TaskDisembarkVehicle(p0, vehicle, p2, p3, p4, p5)

-- always works, by hash
Citizen.InvokeNative(0xA7C6854BB5A4192A, p0, vehicle, p2, p3, p4, p5)
JavaScript and C#
JavaScript
TaskDisembarkVehicle(p0, vehicle, p2, p3, p4, p5);

// by hash
Citizen.invokeNative('0xA7C6854BB5A4192A', p0, vehicle, p2, p3, p4 + 0.0000001, p5);
C#
Function.Call((Hash)0xA7C6854BB5A4192A, p0, vehicle, p2, p3, p4, p5);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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