Vehicle::setScriptVehicleGenerator: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Only called once in the decompiled scripts. Presumably activates the specified generator.
Only called once in the decompiled scripts. Presumably activates the specified generator.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.setScriptVehicleGenerator(vehicleGenerator, enabled);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.vehicle.setScriptVehicleGenerator(vehicleGenerator, enabled);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''vehicleGenerator:''' unknown (to be checked)
*'''vehicleGenerator:''' unknown (to be checked)
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:35, 6 May 2017

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

Syntax

mp.game.vehicle.setScriptVehicleGenerator(vehicleGenerator, enabled);

Required Arguments

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

Return value

  • Undefined

Example

// todo

See also