SetVehicleWindowTint

From GTA Network Wiki
Jump to: navigation, search

SetVehicleWindowTint
Server-Side Function

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

This function sets the vehicle window tint. The values range from 0 to 6.

enum WindowTints
{
WINDOWTINT_NONE, //0
WINDOWTINT_PURE_BLACK, //1
WINDOWTINT_DARKSMOKE, //2
WINDOWTINT_LIGHTSMOKE, //3
WINDOWTINT_STOCK, //4
WINDOWTINT_LIMO, //5
WINDOWTINT_GREEN //6
};

Syntax

void NAPI.Vehicle.SetVehicleWindowTint(Vehicle vehicle, int type);

Required Arguments

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

Usage example(s)

Example Description

NAPI.Vehicle.SetVehicleWindowTint(vehicle, 0);

Changelog

Version Description
1.0 Release.

References