SetVehicleTyreSmokeColor

From RAGE Multiplayer Wiki
Revision as of 17:25, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the tyre smoke color as an RGB value. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleTyreSmokeColor(Vehicle vehicle,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function sets the tyre smoke color as an RGB value.

Syntax

void NAPI.Vehicle.SetVehicleTyreSmokeColor(Vehicle vehicle, Color color);

Required Arguments

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

Example

C# Syntax

Parameters

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

Example

NAPI.Vehicle.SetVehicleTyreSmokeColor(vehicle, new Color(255, 0, 0));