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

SetVehicleLivery

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

This function sets the vehicle's livery if it has any.


void NAPI.Vehicle.SetVehicleLivery(Vehicle vehicle, int livery);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • livery: parameter input should be in int type

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleLivery(vehicle, 1); </syntaxhighlight>