Перейти к содержанию

Player::isEnteringVehicle

Материал из RAGE MP Wiki Archive

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

Note: this property is read-only.

Example

<source lang="javascript"> 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!');

</source>

See Also