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

SetVehicleNeonState

Материал из RAGE MP Wiki Archive
Версия от 21:11, 27 ноября 2019; imported>Avoid (Created page with "This function turns the vehicle neon on or off. At the moment you cannot individually select neon indices. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_nam...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>