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

Vehicle::getIsEngineRunning

Материал из RAGE MP Wiki Archive
Версия от 11:38, 9 мая 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns true if the engine is on, returns false if the engine is off. Returns null while entering/exiting vehicle.

Syntax

<syntaxhighlight lang="javascript">vehicle.getIsEngineRunning();</syntaxhighlight>

Required Arguments

Return value

  • boolean: false or true

Example

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

See also