Skip to main content

GET_MAXIMUM_NUMBER_OF_PASSENGERS

Game.GetMaximumNumberOfPassengersHash0x554014F1
Usage
local maxNumber = Game.GetMaximumNumberOfPassengers(carIndex)

Get the max number of pasengers a car can have.

Parameters

  • carIndexintegerint

Returns

  • maxNumberintegerint*
Original declaration
// 0x554014F1
void GET_MAXIMUM_NUMBER_OF_PASSENGERS(int carIndex, int* maxNumber);