Skip to main content

GetVehicleMaxOccupants

Returns the vehicle's max occupants.

  • model: parameter input should be in VehicleHash type

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

{{#tag:syntaxhighlight| int maxOccupants = Vehicle.GetVehicleMaxOccupants(VehicleHash model); |lang=csharp}} }}