RedM Natives

TASK_EVERYONE_LEAVE_VEHICLE

TASK_EVERYONE_LEAVE_VEHICLE This is the server-side RPC native equivalent of the client native TASK_EVERYONE_LEAVE_VEHICLE.

Hash0xC1971F30
Runtime nameTaskEveryoneLeaveVehicle
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void TASK_EVERYONE_LEAVE_VEHICLE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns void

Description

Cfx.re native reference

TASK_EVERYONE_LEAVE_VEHICLE

This is the server-side RPC native equivalent of the client native TASK_EVERYONE_LEAVE_VEHICLE.

Usage

Lua
TaskEveryoneLeaveVehicle(vehicle)

-- always works, by hash
Citizen.InvokeNative(0xc1971f30, vehicle)
JavaScript and C#
JavaScript
TaskEveryoneLeaveVehicle(vehicle);

// by hash
Citizen.invokeNative('0xc1971f30', vehicle);
C#
Function.Call((Hash)0xc1971f30, vehicle);

Sources

Cfx.re native reference

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