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

GetVehicleCustomTires

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

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>