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

Vehicle::getNumberOfPassengers

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

Gets the number of passengers, NOT including the driver. Use IS_VEHICLE_SEAT_FREE(Vehicle, -1) to also check for the driver

Syntax

<syntaxhighlight lang="javascript">vehicle.getNumberOfPassengers();</syntaxhighlight>

Required Arguments

Return value

  • int

Example

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

See also