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

GetVehicleBulletproofTyres

Материал из RAGE MP Wiki Archive
Версия от 15:09, 23 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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


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

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

  //Tyres are bullet proof

} </syntaxhighlight>