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

Vehicle::setScriptVehicleGenerator

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

Only called once in the decompiled scripts. Presumably activates the specified generator.

Syntax

<syntaxhighlight lang="javascript">mp.game.vehicle.setScriptVehicleGenerator(vehicleGenerator, enabled);</syntaxhighlight>

Required Arguments

  • vehicleGenerator: unknown (to be checked)
  • enabled: Boolean

Return value

  • Undefined

Example

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

See also