Skip to main content

Vehicle::getOccupants

Gets the occupants inside of a vehicle.

Syntax

```js vehicle.getOccupants(); ```

Return value

  • Array: Players

Example

```js //To do ```

See also