GetVehicleBulletproofTyres

From RAGE Multiplayer Wiki
Revision as of 17:38, 12 December 2019 by Avoid (talk | contribs) (Created page with "Returns wheter the vehicle's tyres are bullet proof or not. {{CSharpContainer| {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleBulletproofTyres(Vehi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns wheter the vehicle's tyres are bullet proof or not.


C# Syntax

bool NAPI.Vehicle.GetVehicleBulletproofTyres(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the status in bool type.

Example

bool tiresBulletProof = NAPI.Vehicle.GetVehicleBulletproofTyres(vehicle);
if(tiresBulletProof)
{
   //Tires are bullet proof
}