SetVehicleCustomPrimaryColor

From GT-MP
Jump to: navigation, search
SetVehicleCustomPrimaryColor
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Sets a custom primary color (RGB) of a vehicle.


Syntax

API.setVehicleCustomPrimaryColor(NetHandle vehicle, int red, int green, int blue);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.
  • red: parameter input should be in int type.
  • green: parameter input should be in int type.
  • blue: parameter input should be in int type.

Usage example(s)

Example Description

API.setVehicleCustomPrimaryColor(NetHandle vehicle, int red, int green, int blue);


References