GetVehicleBulletproofTyres

From RAGE Multiplayer Wiki
Revision as of 15:09, 23 December 2022 by Xabi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This feature is currently not implemented server-side.

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)
{
   //Tyres are bullet proof
}