<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cygwin255</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cygwin255"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Cygwin255"/>
	<updated>2026-06-04T09:05:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::Vehicle&amp;diff=18073</id>
		<title>Vehicle::Vehicle</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::Vehicle&amp;diff=18073"/>
		<updated>2019-09-23T15:55:11Z</updated>

		<summary type="html">&lt;p&gt;Cygwin255: numberPlate is bugged&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{sharedFunctionJS}}&lt;br /&gt;
&lt;br /&gt;
Creates a vehicle.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Notes:&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
- Colors don&#039;t always work as expected if you use them inside the function. Also number plate won&#039;t work properly. Better set those after vehicle is created. &amp;lt;br&amp;gt;&lt;br /&gt;
- Heading means Z Rotation.&amp;lt;br&amp;gt;&lt;br /&gt;
- in 0.3.7 numberPlate property is bugged, so set the numberPlate after vehicle creation with vehicle.numberPlate = &#039;plate&#039;;&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.vehicles.new(model, position,&lt;br /&gt;
{&lt;br /&gt;
    heading: heading,&lt;br /&gt;
    numberPlate: numberPlate,&lt;br /&gt;
    alpha: alpha,&lt;br /&gt;
    color: color,&lt;br /&gt;
    locked: locked,&lt;br /&gt;
    engine: engine,&lt;br /&gt;
    dimension: dimension&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
*&#039;&#039;&#039;model&#039;&#039;&#039;: {{RageType|Hash}} (use [[Globals::joaat|mp.joaat]]) or {{RageType|String}}&lt;br /&gt;
*&#039;&#039;&#039;position&#039;&#039;&#039;: {{RageType|[[Vector3::Vector3|Vector3]]}}&lt;br /&gt;
*&#039;&#039;&#039;heading&#039;&#039;&#039;: {{RageType|Number}} [-180:180]&lt;br /&gt;
*&#039;&#039;&#039;numberPlate&#039;&#039;&#039;: {{RageType|String}}&lt;br /&gt;
*&#039;&#039;&#039;alpha&#039;&#039;&#039;: {{RageType|Number}}&lt;br /&gt;
*&#039;&#039;&#039;color&#039;&#039;&#039;: {{RageType|[[Number, Number, Number], [Number, Number, Number]]}}&lt;br /&gt;
*&#039;&#039;&#039;locked&#039;&#039;&#039;: {{RageType|Boolean}}&lt;br /&gt;
*&#039;&#039;&#039;engine&#039;&#039;&#039;: {{RageType|Boolean}}&lt;br /&gt;
*&#039;&#039;&#039;dimension&#039;&#039;&#039;: {{RageType|Number}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
An example of creating a red Turismo with the license plate ADMIN&lt;br /&gt;
&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.vehicles.new(mp.game.joaat(&amp;quot;turismor&amp;quot;), new mp.Vector3(-421.88, 1136.86, 326),&lt;br /&gt;
    {&lt;br /&gt;
        numberPlate: &amp;quot;ADMIN&amp;quot;,&lt;br /&gt;
        color: [[255, 0, 0],[255,0,0]]&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Same example but creating a blue Turismo and using it server-side&lt;br /&gt;
{{ServersideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.vehicles.new(mp.joaat(&amp;quot;turismor&amp;quot;), new mp.Vector3(-441.88, 1156.86, 326),&lt;br /&gt;
    {&lt;br /&gt;
        numberPlate: &amp;quot;ADMIN&amp;quot;,&lt;br /&gt;
        color: [[0, 255, 0],[0, 255, 0]]&lt;br /&gt;
    });&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Vehicle_definition_c}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Vehicle API]]&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Client-side Function]]&lt;br /&gt;
[[Category:Shared Function]]&lt;/div&gt;</summary>
		<author><name>Cygwin255</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Vehicle::setDamage&amp;diff=18065</id>
		<title>Vehicle::setDamage</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Vehicle::setDamage&amp;diff=18065"/>
		<updated>2019-09-13T17:11:28Z</updated>

		<summary type="html">&lt;p&gt;Cygwin255: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Apply damage to vehicle at a location. Location is relative to vehicle model (not world).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Radius of effect damage applied in a sphere at impact location&lt;br /&gt;
It is enough to use x,y,z values from -1 to 1.&lt;br /&gt;
p6 should be true, with false it does not taking in account offset values and all damage is applied to rear left part of the vehicle.&lt;br /&gt;
Good values for radius could be from 25 to 200, for damage 50-200.&lt;br /&gt;
You need to apply delay if you want to call setDamage couple times in a row. Typically 10ms is enough.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;vehicle.setDamage(xOffset, yOffset, zOffset, damage, radius, p6);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&#039;&#039;&#039;xOffset:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;yOffset:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;zOffset:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;damage:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;radius:&#039;&#039;&#039; float&lt;br /&gt;
*&#039;&#039;&#039;p6:&#039;&#039;&#039; Boolean&lt;br /&gt;
===Return value===&lt;br /&gt;
*&#039;&#039;&#039;Undefined&#039;&#039;&#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Cygwin255</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Storage.data&amp;diff=18060</id>
		<title>Storage.data</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Storage.data&amp;diff=18060"/>
		<updated>2019-09-10T11:51:50Z</updated>

		<summary type="html">&lt;p&gt;Cygwin255: Created page for storage.data&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Used to set some client-related data. Saved on the client, see [[storage.flush()]] for more details.&lt;br /&gt;
&amp;lt;br /&amp;gt;Data is saved in &amp;lt;path to RAGEMP&amp;gt;/client_resources/&amp;lt;server ip&amp;gt;/.storage&lt;br /&gt;
&amp;lt;br /&amp;gt;Thus it is wiped when player deletes client folder.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
storage.data.someKey = obj;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.storage.data.auth = { token: &amp;quot;abcd&amp;quot; };&lt;br /&gt;
mp.storage.flush();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==Known bugs==&lt;br /&gt;
There is a bug with ragemp 0.3.7 when if server restarts while player is connected the data property gets nested into a new data field, so mp.storage.data becomes mp.storage.data.data and so on.&lt;br /&gt;
&amp;lt;br/&amp;gt;Fix:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// author: Shonz1 from ragemp&#039;s discord&lt;br /&gt;
// region: Fix RAGE:MP storage error (recursive data:...)&lt;br /&gt;
let storage = mp.storage.data;&lt;br /&gt;
while (storage.hasOwnProperty(&#039;data&#039;))&lt;br /&gt;
    storage = storage.data;&lt;br /&gt;
&lt;br /&gt;
delete mp.storage.data.data;&lt;br /&gt;
&lt;br /&gt;
Object.getOwnPropertyNames(storage).forEach(key =&amp;gt; {&lt;br /&gt;
    mp.storage.data[key] = storage[key];&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
mp.storage.flush();&lt;br /&gt;
// endregion&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
[[Category:Clientside API]]&lt;/div&gt;</summary>
		<author><name>Cygwin255</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Client-side_functions&amp;diff=18059</id>
		<title>Client-side functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Client-side_functions&amp;diff=18059"/>
		<updated>2019-09-10T11:38:35Z</updated>

		<summary type="html">&lt;p&gt;Cygwin255: /* Storage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Classes==&lt;br /&gt;
===Blip===&lt;br /&gt;
{{Blip_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Browser===&lt;br /&gt;
{{Browser_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Camera===&lt;br /&gt;
{{Camera_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Checkpoint===&lt;br /&gt;
*[[Checkpoint::Checkpoint]]&lt;br /&gt;
&lt;br /&gt;
===Cursor===&lt;br /&gt;
{{Cursor_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Voice chat===&lt;br /&gt;
*Properties:&lt;br /&gt;
**voiceChat.muted&lt;br /&gt;
*Functions:&lt;br /&gt;
**voiceChat.getPreprocessingParam&lt;br /&gt;
**voiceChat.setPreprocessingParam&lt;br /&gt;
&lt;br /&gt;
===Entity===&lt;br /&gt;
{{Entity_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Entity pool===&lt;br /&gt;
*[[Pool::atHandle]]&lt;br /&gt;
*[[Pool::atRemoteId]]&lt;br /&gt;
{{EntityPool_Client_functions}}&lt;br /&gt;
*[[Pool::remoteId]]&lt;br /&gt;
&lt;br /&gt;
===Event===&lt;br /&gt;
{{Event_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Global===&lt;br /&gt;
{{Global_properties_c}}&lt;br /&gt;
&lt;br /&gt;
===Gui===&lt;br /&gt;
{{Gui_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Keys===&lt;br /&gt;
{{Keys_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Label===&lt;br /&gt;
{{Label_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Marker===&lt;br /&gt;
{{Marker_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Nametags===&lt;br /&gt;
*Functions:&lt;br /&gt;
**mp.nametags.update &lt;br /&gt;
**[[nametags.set|mp.nametags.set]]&lt;br /&gt;
*Properties:&lt;br /&gt;
**mp.nametags.enabled&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
{{Object_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Peds===&lt;br /&gt;
*[[Peds::new|mp.peds.new]]&lt;br /&gt;
&lt;br /&gt;
===Pickup===&lt;br /&gt;
*[[Pickup::Pickup]]&lt;br /&gt;
&lt;br /&gt;
===Player===&lt;br /&gt;
{{Player_definition_c}}&lt;br /&gt;
&lt;br /&gt;
===Vector3===&lt;br /&gt;
{{Vector3_definition}}&lt;br /&gt;
&lt;br /&gt;
===Vehicle===&lt;br /&gt;
{{Vehicle_definition_c}}&lt;br /&gt;
&lt;br /&gt;
==Static Objects==&lt;br /&gt;
&lt;br /&gt;
===App===&lt;br /&gt;
{{App_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
{{Audio_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Brain===&lt;br /&gt;
{{Brain_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Cam===&lt;br /&gt;
{{Cam_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Controls===&lt;br /&gt;
{{Controls_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Cutscene===&lt;br /&gt;
{{Cutscene_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Datafile===&lt;br /&gt;
{{Datafile_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Decisionevent===&lt;br /&gt;
{{Decisionevent_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Decorator===&lt;br /&gt;
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]&lt;br /&gt;
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]&lt;br /&gt;
&lt;br /&gt;
===Discord===&lt;br /&gt;
*[[Discord::update|mp.discord.update]]&lt;br /&gt;
&lt;br /&gt;
===DLC===&lt;br /&gt;
{{Dlc1_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===DLC2===&lt;br /&gt;
*[[Dlc2::nullify|mp.game.dlc2.nullify]]&lt;br /&gt;
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]&lt;br /&gt;
&lt;br /&gt;
===Fire===&lt;br /&gt;
{{Fire_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Gameplay===&lt;br /&gt;
{{Gameplay_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Game Globals===&lt;br /&gt;
*Functions:&lt;br /&gt;
**[[Globals::joaat|mp.game.joaat]]&lt;br /&gt;
**[[Globals::invoke|mp.game.invoke]]&lt;br /&gt;
*Properies:&lt;br /&gt;
**[[Client-side_functions#App|mp.game.app]]&lt;br /&gt;
**[[Client-side_functions#Audio|mp.game.audio]]&lt;br /&gt;
**[[Client-side_functions#Brain|mp.game.brain]]&lt;br /&gt;
**[[Client-side_functions#Cam|mp.game.cam]]&lt;br /&gt;
**[[Client-side_functions#Controls|mp.game.controls]]&lt;br /&gt;
**[[Client-side_functions#Cutscene|mp.game.cutscene]]&lt;br /&gt;
**[[Client-side_functions#Datafile|mp.game.datafile]]&lt;br /&gt;
**[[Client-side_functions#Decisionevent|mp.game.decisionevent]]&lt;br /&gt;
**[[Client-side_functions#Decorator|mp.game.decorator]]&lt;br /&gt;
**[[Client-side_functions#Dlc1|mp.game.dlc1]]&lt;br /&gt;
**[[Client-side_functions#Dlc2|mp.game.dlc2]]&lt;br /&gt;
**[[Client-side_functions#Entity|mp.game.entity]]&lt;br /&gt;
**[[Client-side_functions#Fire|mp.game.fire]]&lt;br /&gt;
**[[Client-side_functions#Gameplay|mp.game.gameplay]]&lt;br /&gt;
**[[Client-side_functions#Graphics|mp.game.graphics]]&lt;br /&gt;
**[[Client-side_functions#Interior|mp.game.interior]]&lt;br /&gt;
**[[Client-side_functions#Itemset|mp.game.itemset]]&lt;br /&gt;
**[[Client-side_functions#Mobile|mp.game.mobile]]&lt;br /&gt;
**[[Client-side_functions#Object|mp.game.object]]&lt;br /&gt;
**[[Client-side_functions#Pathfind|mp.game.pathfind]]&lt;br /&gt;
**[[Client-side_functions#Ped|mp.game.ped]]&lt;br /&gt;
**[[Client-side_functions#Player|mp.game.player]]&lt;br /&gt;
**[[Client-side_functions#Rope|mp.game.rope]]&lt;br /&gt;
**[[Client-side_functions#Script|mp.game.script]]&lt;br /&gt;
**[[Client-side_functions#Stats|mp.game.stats]]&lt;br /&gt;
**[[Client-side_functions#Streaming|mp.game.streaming]]&lt;br /&gt;
**[[Client-side_functions#System|mp.game.system]]&lt;br /&gt;
**[[Client-side_functions#Time|mp.game.time]]&lt;br /&gt;
**[[Client-side_functions#Ui|mp.game.ui]]&lt;br /&gt;
**[[Client-side_functions#Unk|mp.game.unk]]&lt;br /&gt;
**[[Client-side_functions#Recorder|mp.game.recorder]]&lt;br /&gt;
**[[Client-side_functions#Vehicle|mp.game.vehicle]]&lt;br /&gt;
**[[Client-side_functions#Water|mp.game.water]]&lt;br /&gt;
**[[Client-side_functions#Weapon|mp.game.weapon]]&lt;br /&gt;
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]&lt;br /&gt;
**[[Client-side_functions#Zone|mp.game.zone]]&lt;br /&gt;
&lt;br /&gt;
===Graphics===&lt;br /&gt;
{{Graphics_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Interior===&lt;br /&gt;
{{Interior_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Itemset===&lt;br /&gt;
{{Itemset_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Mobile===&lt;br /&gt;
{{Mobile_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Object===&lt;br /&gt;
{{Object_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Pathfind===&lt;br /&gt;
{{Path_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Ped===&lt;br /&gt;
{{Ped_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Player===&lt;br /&gt;
{{Player_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Raycasting===&lt;br /&gt;
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]&lt;br /&gt;
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]&lt;br /&gt;
&lt;br /&gt;
===Recorder===&lt;br /&gt;
*[[Recorder::start|mp.game.recorder.start]]&lt;br /&gt;
*[[Recorder::stop|mp.game.recorder.stop]]&lt;br /&gt;
*[[Recorder::isRecording|mp.game.recorder.isRecording]]&lt;br /&gt;
&lt;br /&gt;
===Rope===&lt;br /&gt;
{{Rope_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Script===&lt;br /&gt;
{{Script_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Stats===&lt;br /&gt;
{{Stats_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Storage===&lt;br /&gt;
*Functions:&lt;br /&gt;
**[[storage.flush()|mp.storage.flush]]&lt;br /&gt;
*Properties:&lt;br /&gt;
**[[storage.data|mp.storage.data]]&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;br /&gt;
{{Streaming_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===System===&lt;br /&gt;
{{System_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Time===&lt;br /&gt;
{{Time_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Ui===&lt;br /&gt;
{{Ui_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Unk===&lt;br /&gt;
*[[Unk::getBroadcastFinishedLosSound|mp.game.unk.getBroadcastFinishedLosSound]]&lt;br /&gt;
&lt;br /&gt;
===Vehicle===&lt;br /&gt;
{{Vehicle_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Water===&lt;br /&gt;
{{Water_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Weapon===&lt;br /&gt;
{{Weapon_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Worldprobe===&lt;br /&gt;
{{Worldprobe_functions_c}}&lt;br /&gt;
&lt;br /&gt;
===Zone===&lt;br /&gt;
{{Zone_functions_c}}&lt;/div&gt;</summary>
		<author><name>Cygwin255</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=World::setWeatherTransition&amp;diff=18058</id>
		<title>World::setWeatherTransition</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=World::setWeatherTransition&amp;diff=18058"/>
		<updated>2019-09-10T11:35:38Z</updated>

		<summary type="html">&lt;p&gt;Cygwin255: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This function start a weather transition to the weather specified and sync it to all clients.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.world.setWeatherTransition(&amp;quot;CLEARING&amp;quot;); // Set&#039;s the server&#039;s weather to &#039;CLEARING&#039; immediately&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.world.setWeatherTransition(&amp;quot;CLEARING&amp;quot;, 600000); // Set&#039;s the server&#039;s weather to &#039;CLEARING&#039; with 10 minutes transition&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note: the second use with duration field seems to be buggy, it has graphical issues with transition from SMOG to FOGGY weather (and probably with some other weather), so right now the best choise would be to do weather transition on client side and sync it manually.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
[[Weather]]&lt;br /&gt;
{{World_definition}}&lt;/div&gt;</summary>
		<author><name>Cygwin255</name></author>
	</entry>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=World::setWeatherTransition&amp;diff=18057</id>
		<title>World::setWeatherTransition</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=World::setWeatherTransition&amp;diff=18057"/>
		<updated>2019-09-07T19:20:43Z</updated>

		<summary type="html">&lt;p&gt;Cygwin255: Added example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This function start a weather transition to the weather specified and sync it to all clients.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.world.setWeatherTransition(&amp;quot;CLEARING&amp;quot;); // Set&#039;s the server&#039;s weather to &#039;CLEARING&#039; immediately&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
mp.world.setWeatherTransition(&amp;quot;CLEARING&amp;quot;, 600000); // Set&#039;s the server&#039;s weather to &#039;CLEARING&#039; with 10 minutes transition&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
[[Weather]]&lt;br /&gt;
{{World_definition}}&lt;/div&gt;</summary>
		<author><name>Cygwin255</name></author>
	</entry>
</feed>