GetVehicleMaxOccupants

From GTA Network Wiki
Jump to: navigation, search

GetVehicleMaxOccupants
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Returns the maximum peds a vehicle can hold

Syntax

int NAPI.Vehicle.GetVehicleMaxOccupants(VehicleHash model);

Required Arguments

  • model: parameter input should be in VehicleHash type.

NOTE: This function returns data in int type.

Usage example(s)

NAPI.Vehicle.GetVehicleMaxOccupants(model);

Changelog

Version Description
1.0 Release.

References