SetVehicleSpecialLightStatus

From RAGE Multiplayer Wiki
Revision as of 21:03, 27 November 2019 by Avoid (talk | contribs)

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


C# Syntax

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

NAPI.Vehicle.SetVehicleSpecialLightStatus(vehicle, true);