occupantsNumber property

int occupantsNumber
getter/setter pair

Specifies the number of occupants in the vehicle, including driver, can affect the vehicle's ability to use HOV/carpool restricted lanes. Shouldn't be less than 1 or greater than 255. Defaults to 1.

Note: This parameter has no effect unless HOV and/or HOT lane usage is enabled via CarOptions.allowOptions and such lanes are available in the selected country.

Implementation

int occupantsNumber;