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

Vehicle::setPedTargettableDestroy

Материал из RAGE MP Wiki Archive
Версия от 23:49, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

destroyType is 1 for opens on damage, 2 for breaks on damage.

Syntax

<syntaxhighlight lang="javascript">vehicle.setPedTargettableDestroy(vehicleComponent, destroyType);</syntaxhighlight>

Required Arguments

  • vehicleComponent: int
  • destroyType: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also