GetVehicleCustomTires

From RAGE Multiplayer Wiki
Revision as of 17:23, 12 December 2019 by Avoid (talk | contribs) (Created page with "Returns if vehicle has custom tires. {{CSharpContainer| {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleCustomTires(Vehicle vehicle);}} {{Parameters...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns if vehicle has custom tires.


C# Syntax

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

bool hasCustomTires = NAPI.Vehicle.GetVehicleCustomTires(vehicle);
if(hasCustomTires)
{
   //Vehicle has custom tires..
}