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

GetVehicleMaxOccupants

Материал из RAGE MP Wiki Archive
Версия от 14:24, 12 декабря 2019; imported>Avoid (Created page with "Returns the vehicle's max occupants. {{CSharpContainer| {{#tag:pre|int {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleMaxOccupants(VehicleHash model);}} {{Paramete...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>