<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alan+Williams</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alan+Williams"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Alan_Williams"/>
	<updated>2026-04-14T09:03:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeatherBlended&amp;diff=27757</id>
		<title>SetWeatherBlended</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeatherBlended&amp;diff=27757"/>
		<updated>2011-11-12T22:16:25Z</updated>

		<summary type="html">&lt;p&gt;Alan Williams: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function will change the weather from the current weather (set using [[setWeather]]) to another weather state over a period of 60 seconds. The weather will be fully changed within 2 minutes. (Note: This is based on an in-game minute duration of 1,000 milliseconds) To ensure smooth weather transition, you should not call this function until [[getWeather]] indicates that no transition is already being done.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setWeatherBlended ( int weatherID )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''weatherID:''' The ID of the weather state you wish to set. Valid values are 0 to 255 inclusive.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' if an invalid ''weatherID'' is passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example sets the weather to sunny, then makes it change to a foggy over the period of a minute.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Set the weather to sunny&lt;br /&gt;
setWeather ( 0 )&lt;br /&gt;
-- Blend the weather to foggy&lt;br /&gt;
setWeatherBlended ( 9 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{World functions}}&lt;br /&gt;
&lt;br /&gt;
[[ru:setWeatherBlended]]&lt;/div&gt;</summary>
		<author><name>Alan Williams</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeatherBlended&amp;diff=27756</id>
		<title>SetWeatherBlended</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeatherBlended&amp;diff=27756"/>
		<updated>2011-11-12T22:16:10Z</updated>

		<summary type="html">&lt;p&gt;Alan Williams: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function will change the weather from the current weather (set using [[setWeather]]) to another weather state over a period of 60 seconds. The weather will be fully changed within 2 minutes. (Note: This is based on aan in-game minute duration of 1,000 milliseconds) To ensure smooth weather transition, you should not call this function until [[getWeather]] indicates that no transition is already being done.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setWeatherBlended ( int weatherID )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''weatherID:''' The ID of the weather state you wish to set. Valid values are 0 to 255 inclusive.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' if an invalid ''weatherID'' is passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example sets the weather to sunny, then makes it change to a foggy over the period of a minute.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Set the weather to sunny&lt;br /&gt;
setWeather ( 0 )&lt;br /&gt;
-- Blend the weather to foggy&lt;br /&gt;
setWeatherBlended ( 9 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{World functions}}&lt;br /&gt;
&lt;br /&gt;
[[ru:setWeatherBlended]]&lt;/div&gt;</summary>
		<author><name>Alan Williams</name></author>
	</entry>
</feed>