Player::isEnteringVehicle

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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!');

See Also