Gameplay::setOverrideWeather: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Appears to have an optional bool parameter that is unused in the scripts.<br><br>If you pass true, something will be set to zero.
Appears to have an optional bool parameter that is unused in the scripts.<br><br>If you pass true, something will be set to zero.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.setOverrideWeather(weatherType);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.setOverrideWeather(weatherType);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''weatherType:''' String
*'''weatherType:''' String
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_function_c}}
{{Gameplay_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:01, 22 July 2024

Appears to have an optional bool parameter that is unused in the scripts.

If you pass true, something will be set to zero.

Syntax

mp.game.gameplay.setOverrideWeather(weatherType);

Required Arguments

  • weatherType: String

Return value

  • Undefined

Example

// todo

See also