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

SetVehicleSpecialLightStatus

Материал из RAGE MP Wiki Archive
Версия от 07:33, 28 ноября 2019; imported>Avoid
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function sets on the vehicle special lights. For example taxi lights. True = ON, False = OFF.


void NAPI.Vehicle.SetVehicleSpecialLightStatus(Vehicle vehicle, bool state);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • state: parameter input should be in bool type

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleSpecialLightStatus(vehicle, true); </syntaxhighlight>