SetVehiclePrimaryColor

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

Sets the primary color of a vehicle.


Syntax

API.setVehiclePrimaryColor(NetHandle vehicle, int color);

Required Arguments

  • vehicle: parameter input should be in NetHandle type.
  • color: parameter input should be in int type.

Usage example(s)

Example Description

API.setVehiclePrimaryColor(NetHandle vehicle, int color);


References