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

SetVehicleCustomSecondaryColor

Материал из RAGE MP Wiki Archive
Версия от 21:38, 27 ноября 2019; imported>Avoid (Created page with "This function sets the vehicle's custom secondary color. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleCustomSecondaryColor(Veh...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function sets the vehicle's custom secondary color.


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

Parameters

  • vehicle: parameter input should be in Vehicle type
  • red: 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.Vehicle.SetVehicleCustomSecondaryColor(vehicle, red, green, blue); </syntaxhighlight>