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

Vehicle::setPedTargettableDestroy

Материал из RAGE MP Wiki Archive

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