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

SetVehicleTyreSmokeColor

Материал из RAGE MP Wiki Archive
Версия от 15:09, 23 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function sets the tyre smoke color as an RGB value.


void NAPI.Vehicle.SetVehicleTyreSmokeColor(Vehicle vehicle, Color color);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • color: parameter input should be in Color type

Example

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