GetVehicleMaxOccupants

From RAGE Multiplayer Wiki
Revision as of 14:24, 12 December 2019 by Avoid (talk | contribs) (Created page with "Returns the vehicle's max occupants. {{CSharpContainer| {{#tag:pre|int {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleMaxOccupants(VehicleHash model);}} {{Paramete...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the vehicle's max occupants.


C# Syntax

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

int maxOccupants = NAPI.Vehicle.GetVehicleMaxOccupants(VehicleHash model);