Skip to main content

SetVehicleNeonState

This function turns the vehicle neon on or off. At the moment you cannot individually select neon indices.

C#​

void NAPI.Vehicle.SetVehicleNeonState(Vehicle vehicle, bool turnedOn);

Parameters​

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

Example​

NAPI.Vehicle.SetVehicleNeonState(vehicle, true);