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

Player::isEnteringVehicle

Материал из RAGE MP Wiki Archive
Версия от 13:47, 17 апреля 2017; imported>CocaColaBear
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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