Player::isLeavingVehicle

From RAGE Multiplayer Wiki
Revision as of 13:47, 17 April 2017 by CocaColaBear (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property returns true or false of player vehicle leave state.

Note: this property is read-only.

Example

let playerIsLeavingVehicle = player.isLeavingVehicle
if (playerIsLeavingVehicle)
  player.outputChatBox('You are leaving the vehicle right now!');
else
  player.outputChatBox('You are not leaving the vehicle right now!');

See Also