Skip to main content

GetVehicleNeonColor

Returns Vehicle's neon color in RGB.

C#​

Color NAPI.Vehicle.GetVehicleNeonColor(Vehicle vehicle);

Parameters​

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the color in Color type.

Example​

NAPI.Vehicle.GetVehicleNeonColor(player.Vehicle);