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