Gameplay::setWeatherTypeNowPersist: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The following weatherTypes are used in the scripts:<br>'CLEAR'<br>'EXTRASUNNY'<br>'CLOUDS'<br>'OVERCAST'<br>'RAIN'<br>'CLEARING'<br>'THUNDER'<br>'SMOG'<br>'FOGGY'<br>'XMAS'<br>'SNOWLIGHT'<br>'BLIZZARD'
The following weatherTypes are used in the scripts:<br>'CLEAR'<br>'EXTRASUNNY'<br>'CLOUDS'<br>'OVERCAST'<br>'RAIN'<br>'CLEARING'<br>'THUNDER'<br>'SMOG'<br>'FOGGY'<br>'XMAS'<br>'SNOWLIGHT'<br>'BLIZZARD'
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.setWeatherTypeNowPersist(weatherType);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.setWeatherTypeNowPersist(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:00, 22 July 2024

The following weatherTypes are used in the scripts:
'CLEAR'
'EXTRASUNNY'
'CLOUDS'
'OVERCAST'
'RAIN'
'CLEARING'
'THUNDER'
'SMOG'
'FOGGY'
'XMAS'
'SNOWLIGHT'
'BLIZZARD'

Syntax

mp.game.gameplay.setWeatherTypeNowPersist(weatherType);

Required Arguments

  • weatherType: String

Return value

  • Undefined

Example

// todo

See also