Portal Documentation
Discord GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetPlayerFromVehicleSeat

Returns the Player currently occupying the provided seat index Number of the provided Vehicle.

Note: If no players are in the vehicle seat when this block is called, the returned Player will be invalid.

Inputs

  1. Vehicle
  2. Number

Output

  1. Player

GetPlayerFromVehicleSeat