GetVehicleMaxOccupants

From GT-MP
Jump to: navigation, search
GetVehicleMaxOccupants
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Returns the maximum peds a vehicle can hold


Syntax

API.getVehicleMaxOccupants(VehicleHash model);

Required Arguments

  • model: parameter input should be in VehicleHash type.

NOTE: This function returns data in int type.

Usage example(s)

API.getVehicleMaxOccupants(model);


References