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

Vehicle::setOutOfControl

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

Tested on the player's current vehicle. Unless you kill the driver, the vehicle doesn't loose control, however, if enabled, explodeOnImpact is still active. The moment you crash, boom.

Syntax

<syntaxhighlight lang="javascript">vehicle.setOutOfControl(killDriver, explodeOnImpact);</syntaxhighlight>

Required Arguments

  • killDriver: Boolean
  • explodeOnImpact: Boolean

Return value

  • Undefined

Example

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

See also