Перейти к содержанию

SetVehicleNeonState

Материал из RAGE MP Wiki Archive

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


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

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleNeonState(vehicle, true); </syntaxhighlight>