Skip to main content

GetVehicleMaxOccupants

Returns the vehicle's max occupants.

C#​

int NAPI.Vehicle.GetVehicleMaxOccupants(VehicleHash model);

Parameters​

  • model: parameter input should be in VehicleHash type

NOTE: This function returns the max occupants in int type.

Example​

int maxOccupants = NAPI.Vehicle.GetVehicleMaxOccupants(VehicleHash model);