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

GetVehicleCustomTires

Материал из RAGE MP Wiki Archive
Версия от 17:23, 12 декабря 2019; imported>Avoid (Created page with "Returns if vehicle has custom tires. {{CSharpContainer| {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleCustomTires(Vehicle vehicle);}} {{Parameters...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns if vehicle has custom tires.


bool NAPI.Vehicle.GetVehicleCustomTires(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the status in bool type.

Example

<syntaxhighlight lang="csharp"> bool hasCustomTires = NAPI.Vehicle.GetVehicleCustomTires(vehicle); if(hasCustomTires) {

  //Vehicle has custom tires..

} </syntaxhighlight>