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

IsVehicleDoorBroken

Материал из RAGE MP Wiki Archive
Версия от 21:50, 27 ноября 2019; imported>Avoid
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns if vehicle door is broken.


bool NAPI.Vehicle.IsVehicleDoorBroken(Vehicle vehicle, int door);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • door: parameter input should be in int type

NOTE: This function returns data in bool type.

Example

<syntaxhighlight lang="csharp"> NAPI.Vehicle.IsVehicleDoorBroken(vehicle, door); </syntaxhighlight>