World::setWeatherTransition: Difference between revisions
(Needed to be renew) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function start a weather transition to the weather specified and sync it to all clients. | |||
'' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
mp.world.setWeatherTransition("CLEARING"); // Set's the server's weather to 'CLEARING' | |||
</syntaxhighlight> | |||
==See Also== | ==See Also== | ||
[[Weather]] | |||
{{World_definition}} | {{World_definition}} | ||
Revision as of 02:11, 14 June 2018
This function start a weather transition to the weather specified and sync it to all clients.
Example
mp.world.setWeatherTransition("CLEARING"); // Set's the server's weather to 'CLEARING'