SetVehicleSpecialLightStatus

From GTA Network Wiki
Jump to: navigation, search

SetVehicleSpecialLightStatus
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

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

Syntax

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

Required Arguments

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

Usage example(s)

Example Description

NAPI.Vehicle.SetVehicleSpecialLightStatus(vehicle, true);

Changelog

Version Description
1.0 Release.

References