Перейти к содержанию

GetVehicleMaxOccupants

Материал из RAGE MP Wiki Archive

Returns the vehicle's max occupants.


int NAPI.Vehicle.GetVehicleMaxOccupants(VehicleHash model);

Parameters

  • model: parameter input should be in VehicleHash type

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

Example

<syntaxhighlight lang="csharp"> int maxOccupants = NAPI.Vehicle.GetVehicleMaxOccupants(VehicleHash model); </syntaxhighlight>