SetVehicleSpecialLightStatus

From RAGE Multiplayer Wiki
Revision as of 17:30, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets on the vehicle special lights. For example taxi lights. True = ON, False = OFF. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}NAPI.Veh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Syntax

void NAPI.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

Example

C# Syntax

Parameters

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

Example

NAPI.Vehicle.SetVehicleSpecialLightStatus(vehicle, true);