SetVehicleNeonState

From RAGE Multiplayer Wiki
Revision as of 21:11, 27 November 2019 by Avoid (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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