GET_ACTIVE_VEHICLE_MISSION_TYPE
Hash
0x534AEBA6E5ED4CABRuntime name
GetActiveVehicleMissionTypeNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x534AEBA6E5ED4CABSignature
int GET_ACTIVE_VEHICLE_MISSION_TYPE(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns int
Usage
local retval = GetActiveVehicleMissionType(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x534AEBA6E5ED4CAB, vehicle, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetActiveVehicleMissionType(vehicle);
// by hash
const retval = Citizen.invokeNative('0x534AEBA6E5ED4CAB', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x534AEBA6E5ED4CAB, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.