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

Vehicle::setIndicatorLights

Материал из RAGE MP Wiki Archive
Версия от 23:49, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Sets the turn signal enabled for a vehicle.
Set turnSignal to 1 for left light, 0 for right light.

Syntax

<syntaxhighlight lang="javascript">vehicle.setIndicatorLights(turnSignal, toggle);</syntaxhighlight>

Required Arguments

  • turnSignal: int
  • toggle: Boolean

Return value

  • Undefined

Example

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

See also