SetVehicleNeonColor

From GTA Network Wiki
Jump to: navigation, search

SetVehicleNeonColor
Server-Side Function

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

This function sets the neon color of a vehicle with an RGB value.

Syntax

void NAPI.Vehicle.SetVehicleNeonColor(Vehicle vehicle, int r, int g, int b);

Required Arguments

  • vehicle: parameter input should be in Vehicle type.
  • r: parameter input should be in int type.
  • g: parameter input should be in int type.
  • b: parameter input should be in int type.

Usage example(s)

Example Description

NAPI.Vehicle.SetVehicleNeonColor(vehicle, 255, 0, 0);

Changelog

Version Description
1.0 Release.

References