SetVehiclePrimaryColor

From GTA Network Wiki
Jump to: navigation, search

SetVehiclePrimaryColor
Server-Side Function

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

This sets the vehicle's primary color. See Vehicle Colors.

Syntax

void NAPI.Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);

Required Arguments

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

Usage example(s)

Example Description

NAPI.Vehicle.SetVehiclePrimaryColor(vehicle, 45);

Changelog

Version Description
1.0 Release.

References