Player::isEnteringVehicle: Difference between revisions

From RAGE Multiplayer Wiki
(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...")
 
No edit summary
 
Line 10: Line 10:
   player.outputChatBox('You are not entering to the vehicle right now!');
   player.outputChatBox('You are not entering to the vehicle right now!');
</source>
</source>
==See Also==
{{Player_block}}

Latest revision as of 13:47, 17 April 2017

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