Player::seat

From RAGE Multiplayer Wiki
Revision as of 19:43, 4 January 2017 by Niks (talk | contribs) (Created page with "This property returns player current vehicle seat or nil. '''Note: this property is read-only.''' == Example == <source lang="javascript"> if (player.seat) player.outputCha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property returns player current 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!');