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

Vehicle::getVehicleModelMaxNumberOfPassengers

Материал из RAGE MP Wiki Archive
Версия от 21:34, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns max number of passengers (including the driver) for the specified vehicle model.

For a full list, see here: pastebin.com/MdETCS1j

Syntax

<syntaxhighlight lang="javascript">mp.game.vehicle.getVehicleModelMaxNumberOfPassengers(modelHash);</syntaxhighlight>

Required Arguments

  • modelHash: Model hash or name

Return value

  • int

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also