SetVehicleWindowTint

From RAGE Multiplayer Wiki
Revision as of 17:16, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the vehicle window tint. The values range from 0 to 6. ==Window Tints== {{#tag:pre|enum WindowTints { WINDOWTINT_NONE, //0 WINDOWTINT_PURE_BLACK, //1 WINDO...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Window Tints

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

Example

C# Syntax

Parameters

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

Example

NAPI.Vehicle.SetVehicleWindowTint(vehicle, 0);