SetVehicleTyreSmokeColor: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{Warning|This feature is currently not implemented server-side.}}
This function sets the tyre smoke color as an RGB value.
This function sets the tyre smoke color as an RGB value.



Latest revision as of 15:09, 23 December 2022

This feature is currently not implemented server-side.

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


C# Syntax

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

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));