SetVehicleNeonColor

From RAGE Multiplayer Wiki
Revision as of 21:13, 27 November 2019 by Avoid (talk | contribs) (Created page with "This function sets the neon color of a vehicle with an RGB value. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleNeonColor(Vehic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function sets the neon color of a vehicle with an RGB value.


C# Syntax

void NAPI.Vehicle.SetVehicleNeonColor(Vehicle vehicle, int r, int g, int b);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • r: parameter input should be in int type
  • g: parameter input should be in int type
  • b: parameter input should be in int type

Example

NAPI.Vehicle.SetVehicleNeonColor(vehicle, 255, 0, 0);