World::setWeatherTransition

From RAGE Multiplayer Wiki
Revision as of 19:20, 7 September 2019 by Cygwin255 (talk | contribs) (Added example)

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' immediately
mp.world.setWeatherTransition("CLEARING", 600000); // Set's the server's weather to 'CLEARING' with 10 minutes transition

See Also

Weather