SetVehiclePrimaryColor

From RAGE Multiplayer Wiki
Revision as of 17:35, 27 November 2019 by Avoid (talk | contribs) (Created page with "This sets the vehicle's primary color. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehiclePrimaryColor(Vehicle vehicle, int color);}} === R...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This sets the vehicle's primary color.

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

Example

C# Syntax

Parameters

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

Example

NAPI.NAPI.Vehicle.SetVehiclePrimaryColor(vehicle, 45);