Player::isEnteringVehicle

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

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

Note: this property is read-only.

Example

let playerIsEnteringVehicle = player.isEnteringVehicle
if (playerIsEnteringVehicle)
  player.outputChatBox('You are entering to the vehicle right now!');
else
  player.outputChatBox('You are not entering to the vehicle right now!');