SetVehicleNeonColor

From RAGE Multiplayer Wiki

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