SetVehicleCustomPrimaryColor

From RAGE Multiplayer Wiki
Revision as of 21:40, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the vehicle's custom primary color. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleCustomPrimaryColor(Vehicle...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function sets the vehicle's custom primary color.


C# Syntax

void NAPI.Vehicle.SetVehicleCustomPrimaryColor(Vehicle vehicle, int red, int green, int blue);

Parameters

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

Example

NAPI.SetVehicleCustomPrimaryColor(vehicle, red, green, blue);