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

Player::isOnVehicle

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

Gets a value indicating whether the specified ped is on top of any vehicle.

Return 1 when ped is on vehicle.
Return 0 when ped is not on a vehicle.

Syntax

<syntaxhighlight lang="javascript">player.isOnVehicle();</syntaxhighlight>

Required Arguments

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also