Перейти к содержанию

SetVehicleNeonColor

Материал из RAGE MP Wiki Archive

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


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

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleNeonColor(vehicle, 255, 0, 0); </syntaxhighlight>