Skip to main content

Player::isEnteringVehicle

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

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