SetVehicleNeonState

From RAGE Multiplayer Wiki

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


C# Syntax

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);