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

SetVehicleCustomPrimaryColor

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

This function sets the vehicle's custom primary color.


void NAPI.Vehicle.SetVehicleCustomPrimaryColor(Vehicle vehicle, int red, int green, int blue);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • color: parameter input should be in int type
  • green: parameter input should be in int type
  • blue: parameter input should be in int type

Example

<syntaxhighlight lang="csharp"> NAPI.SetVehicleCustomPrimaryColor(vehicle, red, green, blue); </syntaxhighlight>