Player::seat

From RAGE Multiplayer Wiki
Revision as of 19:43, 4 January 2017 by Niks (talk | contribs)

This property returns players vehicle seat or nil.

Note: this property is read-only.

Example

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