SetVehicleNeonState

From GTA Network Wiki
Jump to: navigation, search

SetVehicleNeonState
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

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

Syntax

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

Required Arguments

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

Usage example(s)

Example Description

NAPI.Vehicle.SetVehicleNeonState(vehicle, true);

Changelog

Version Description
1.0 Release.

References