Player::seat

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This property returns players vehicle seat or nil.

Note: this property is read-only.

Seats:

  • -1 - driver seat
  • 0 - passenger seat 1
  • 1 - passenger seat 2
  • 2 - passenger seat 3

Example

if (player.vehicle)
  player.outputChatBox('Your vehicle seat is ' + player.seat);
else
  player.outputChatBox('You are not in the vehicle right now!');

See Also