<?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=Rain+Gloom</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=Rain+Gloom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Rain_Gloom"/>
	<updated>2026-06-02T13:48:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Server_mtaserver.conf&amp;diff=44840</id>
		<title>Server mtaserver.conf</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Server_mtaserver.conf&amp;diff=44840"/>
		<updated>2015-04-09T14:37:30Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: added AC guide link to SD as well&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists the settings that can be set in the settings file. ''Setting from the default '''mtaserver.conf''' settings file is in italics''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====servername====&lt;br /&gt;
:''&amp;lt;servername&amp;gt;Default MTA Server&amp;lt;/servername&amp;gt;''&lt;br /&gt;
:This parameter specifies the name the server will be visible as in the ingame server browser and on Game-Monitor. It is a required parameter.&lt;br /&gt;
&lt;br /&gt;
====serverip====&lt;br /&gt;
:''&amp;lt;serverip&amp;gt;&amp;lt;/serverip&amp;gt;&lt;br /&gt;
:'''ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING'''&lt;br /&gt;
:It is generally only needed for professional servers and should be left blank otherwise. This parameter specifies the IP to use for servers that have multiple IP addresses. If left blank, it will default to server's standard local IP address.&lt;br /&gt;
:SERVERIP SHOULD BE LEFT BLANK UNLESS YOU ARE SURE OF WHAT YOU ARE DOING&lt;br /&gt;
:People who set this and then ask for support will be the first ones against the wall when the revolution comes&lt;br /&gt;
&lt;br /&gt;
====serverport====&lt;br /&gt;
:''&amp;lt;serverport&amp;gt;22003&amp;lt;/serverport&amp;gt; &lt;br /&gt;
:This parameter specifies the UDP port on which the server will be accepting incoming player connections;&lt;br /&gt;
:default value: 22003. It is a required parameter.&lt;br /&gt;
&lt;br /&gt;
====maxplayers====&lt;br /&gt;
:''&amp;lt;maxplayers&amp;gt;32&amp;lt;/maxplayers&amp;gt;&lt;br /&gt;
:This parameter specifies the number of maximum player slots available on the server;&lt;br /&gt;
:default value: 32. It is a required parameter.&lt;br /&gt;
&lt;br /&gt;
====httpserver====&lt;br /&gt;
:''&amp;lt;httpserver&amp;gt;1&amp;lt;/httpserver&amp;gt;&lt;br /&gt;
:This parameter specifies whether the builtin http server will be used.&lt;br /&gt;
:Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter.&lt;br /&gt;
:More information: [[Server_Manual#Using_the_web_interface|Using the web interface]]&lt;br /&gt;
&lt;br /&gt;
====httpport====&lt;br /&gt;
:''&amp;lt;httpport&amp;gt;22005&amp;lt;/httpport&amp;gt;&lt;br /&gt;
:This parameter specifies the TCP port on which the server will be accepting incoming http connections. It can be set to the same value as &amp;lt;serverport&amp;gt;. It is a required parameter if &amp;lt;httpserver&amp;gt; is set to 1.&lt;br /&gt;
:More information: [[Server_Manual#Using_the_web_interface|Using the web interface]]&lt;br /&gt;
&lt;br /&gt;
====httpdownloadurl====&lt;br /&gt;
:''&amp;lt;httpdownloadurl&amp;gt;&amp;lt;/httpdownloadurl&amp;gt;&lt;br /&gt;
:If set, this parameter specifies the external URL from which clients will be able to download needed resources ingame. Otherwise they will download them directly from the server.&lt;br /&gt;
:More information: [[Server_Manual#Configuring_an_external_web_server|Configuring an external web server]]&lt;br /&gt;
&lt;br /&gt;
====httpmaxconnectionsperclient====&lt;br /&gt;
:''&amp;lt;httpmaxconnectionsperclient&amp;gt;5&amp;lt;/httpmaxconnectionsperclient&amp;gt;&lt;br /&gt;
:This parameter limits the number of http connections each client can make. Depending on the type of http server that is used, a lower figure may reduce download timeouts. Only relevant when using an external http server.&lt;br /&gt;
:Available range: 1 to 8.&lt;br /&gt;
&lt;br /&gt;
====httpdosthreshold====&lt;br /&gt;
:''&amp;lt;httpdosthreshold&amp;gt;20&amp;lt;/httpdosthreshold&amp;gt;&lt;br /&gt;
:This parameter limits the number http connections that an IP can initiate over a short period of time.&lt;br /&gt;
:Available range: 1 to 100. default value: 20&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0136|1.3.5|6301|&lt;br /&gt;
====http_dos_exclude====&lt;br /&gt;
:''&amp;lt;http_dos_exclude&amp;gt;&amp;lt;/http_dos_exclude&amp;gt;&lt;br /&gt;
:This parameter lists the IP addresses that are to be excluded from http dos threshold limits.&lt;br /&gt;
:e.g. 88.11.22.33,101.2.3.4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====client_file====&lt;br /&gt;
:''&amp;lt;nowiki&amp;gt;&amp;lt;!-- &amp;lt;client_file name=&amp;quot;data/carmods.dat&amp;quot; verify=&amp;quot;0&amp;quot; /&amp;gt; --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:By default, the server will block the use of customized GTA:SA data files.&lt;br /&gt;
:To allow specific client files, add one or more of the above lines.&lt;br /&gt;
:More information: [[Anti-cheat_guide|Anti-cheat guide]]&lt;br /&gt;
&lt;br /&gt;
====disableac====&lt;br /&gt;
:''&amp;lt;disableac&amp;gt;&amp;lt;/disableac&amp;gt;&lt;br /&gt;
:Comma seperated list of disabled anti-cheats.&lt;br /&gt;
:e.g. To disable anti-cheat #2 and #3, use: 2,3&lt;br /&gt;
:More information: [[Anti-cheat_guide|Anti-cheat guide]]&lt;br /&gt;
&lt;br /&gt;
====enablesd====&lt;br /&gt;
:''&amp;lt;enablesd&amp;gt;&amp;lt;/enablesd&amp;gt;&lt;br /&gt;
:Comma seperated list of enabled special detections. A special detection is a type of anti-cheat for (usually) harmless game modifications. Competitive servers may wish to enable special detections, but most servers should leave this setting blank.&lt;br /&gt;
:e.g. To enable special detection #12 (disallow custom D3D9.DLL) use: 12&lt;br /&gt;
:More information: [[Anti-cheat_guide|Anti-cheat guide]]&lt;br /&gt;
&lt;br /&gt;
====networkencryption====&lt;br /&gt;
:''&amp;lt;networkencryption&amp;gt;1&amp;lt;/networkencryption&amp;gt;&lt;br /&gt;
:This parameter specifies whether communications between the server and client is encrypted. Encryption can help prevent network data being viewed and modified.&lt;br /&gt;
:Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter.&lt;br /&gt;
:This parameter can changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
&lt;br /&gt;
====minclientversion====&lt;br /&gt;
:''&amp;lt;minclientversion&amp;gt;&amp;lt;/minclientversion&amp;gt;&lt;br /&gt;
:Minimum client version. Clients with a lower version will not be allowed to connect. After disconnection, clients will be given an opportunity to download an update. If left blank, this setting is disabled and there are no restrictions on who can connect. Version numbers are described in [[getPlayerVersion]] and look like this: 1.1.0-9.03100.0&lt;br /&gt;
:This parameter can changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:'''Note that this setting only determines if the client should be prompted to update. The actual build number they receive will be the [[http://nightly.mtasa.com/ver highest available]].'''&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0136|1.3.4|6023|&lt;br /&gt;
====minclientversion_auto_update====&lt;br /&gt;
:''&amp;lt;minclientversion_auto_update&amp;gt;&amp;lt;/minclientversion_auto_update&amp;gt;&lt;br /&gt;
:This parameter specifies if/when the &amp;lt;minclientversion&amp;gt; setting is automatically updated.&lt;br /&gt;
:Keeping &amp;lt;minclientversion&amp;gt; updated can help reduce cheating.&lt;br /&gt;
:Note: The instant setting (2) is only recommened for competitive servers.&lt;br /&gt;
:Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====recommendedclientversion====&lt;br /&gt;
:''&amp;lt;recommendedclientversion&amp;gt;&amp;lt;/recommendedclientversion&amp;gt;&lt;br /&gt;
:Recommended client version. When connecting, if clients have a lower version, they will be given the option to download an update. If left blank, this setting is disabled.&lt;br /&gt;
:This parameter can changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:'''Note that this setting only determines if the client should be prompted to update. The actual build number they receive will be the [[http://nightly.mtasa.com/ver highest available]].'''&lt;br /&gt;
&lt;br /&gt;
====ase====&lt;br /&gt;
:''&amp;lt;ase&amp;gt;1&amp;lt;/ase&amp;gt;&lt;br /&gt;
:This parameter can be used to make the server report to Game-Monitor master servers, allowing it to be visible in the ingame server browser. An additional UDP port needs to be available for this to work (value from &amp;lt;serverport&amp;gt; + 123 , so on a default &amp;lt;serverport&amp;gt; value 22003 the right port will be 22126 ).&lt;br /&gt;
:Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0.&lt;br /&gt;
&lt;br /&gt;
====donotbroadcastlan====&lt;br /&gt;
:''&amp;lt;donotbroadcastlan&amp;gt;0&amp;lt;/donotbroadcastlan&amp;gt;&lt;br /&gt;
:This parameter allows you to disable LAN broadcasting.	&lt;br /&gt;
&lt;br /&gt;
====password====&lt;br /&gt;
:''&amp;lt;password&amp;gt;&amp;lt;/password&amp;gt; &lt;br /&gt;
:If set, players will have to provide a password specified below, before they can connect to the server. If left blank, server doesn't require a password from them.&lt;br /&gt;
:This parameter can changed and saved while the server is running with [[setServerPassword]] or [[setServerConfigSetting]]&lt;br /&gt;
&lt;br /&gt;
====bandwidth_reduction====&lt;br /&gt;
:''&amp;lt;bandwidth_reduction&amp;gt;medium&amp;lt;/bandwidth_reduction&amp;gt; &lt;br /&gt;
:This parameter reduces the server's bandwidth usage by using various optimizations.&lt;br /&gt;
:Values: none, medium or maximum ; default value: medium&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
&lt;br /&gt;
====player_sync_interval====&lt;br /&gt;
:''&amp;lt;player_sync_interval&amp;gt;100&amp;lt;/player_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the time in milliseconds between player sync packets.&lt;br /&gt;
:Available range: 50 - 500; default value: 100&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====lightweight_sync_interval====&lt;br /&gt;
:''&amp;lt;lightweight_sync_interval&amp;gt;1500&amp;lt;/lightweight_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the time in milliseconds between lightweight (player) sync packets.&lt;br /&gt;
:Available range: 200 - 40000; default value: 1500&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====camera_sync_interval====&lt;br /&gt;
:''&amp;lt;camera_sync_interval&amp;gt;500&amp;lt;/camera_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the time in milliseconds between camera sync packets.&lt;br /&gt;
:Available range: 200 - 400; default value: 500&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====ped_sync_interval====&lt;br /&gt;
:''&amp;lt;ped_sync_interval&amp;gt;400&amp;lt;/ped_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the time in milliseconds between ped sync packets.&lt;br /&gt;
:Available range: 200 - 4000; default value: 400&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====unoccupied_vehicle_sync_interval====&lt;br /&gt;
:''&amp;lt;unoccupied_vehicle_sync_interval&amp;gt;1000&amp;lt;/unoccupied_vehicle_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the time in milliseconds between unoccupied vehicle sync packets.&lt;br /&gt;
:Available range: 200 - 4000; default value: 1000&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====keysync_mouse_sync_interval====&lt;br /&gt;
:''&amp;lt;keysync_mouse_sync_interval&amp;gt;100&amp;lt;/keysync_mouse_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the minimum time in milliseconds between key sync packets due to mouse movement.&lt;br /&gt;
:Available range: 50 - 500; default value: 100&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====keysync_analog_sync_interval====&lt;br /&gt;
:''&amp;lt;keysync_analog_sync_interval&amp;gt;100&amp;lt;/keysync_analog_sync_interval&amp;gt; &lt;br /&gt;
:This parameter determines the minimum time in milliseconds between key sync packets due to joystick movement.&lt;br /&gt;
:Available range: 50 - 500; default value: 100&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
:Suggested values for this and the other sync_interval settings can be found here: [[Sync_interval_settings|Sync interval settings]]&lt;br /&gt;
&lt;br /&gt;
====bullet_sync====&lt;br /&gt;
:''&amp;lt;bullet_sync&amp;gt;0&amp;lt;/bullet_sync&amp;gt; &lt;br /&gt;
:This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.&lt;br /&gt;
:'''It only works on server build 4247 or later, and when enabled, connecting clients will be auto-updated if required.'''&lt;br /&gt;
:Note that bullet sync will be active regardless of this setting when certain [[setGlitchEnabled|glitches]] are enabled.&lt;br /&gt;
:Values: 0 - disabled , 1 - enabled ; default value: 0.&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
&lt;br /&gt;
====vehext_percent====&lt;br /&gt;
:''&amp;lt;vehext_percent&amp;gt;0&amp;lt;/vehext_percent&amp;gt;&lt;br /&gt;
:This parameter sets the amount of extrapolation that clients will apply to remote vehicles. &lt;br /&gt;
:This can reduce some of the latency induced location disparency by predicting where the remote vehicles will probably be.&lt;br /&gt;
:Depending on the gamemode, an incorrect prediction may have a negative effect. &lt;br /&gt;
:Therefore this setting should be considered expermental.&lt;br /&gt;
:'''It only works on server build 4456 or later.'''&lt;br /&gt;
:Available range: 0 to 100.  Default - 0 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====vehext_ping_limit====&lt;br /&gt;
:''&amp;lt;vehext_ping_limit&amp;gt;150&amp;lt;/vehext_ping_limit&amp;gt;&lt;br /&gt;
:This parameter places a limit on how much time (in milliseconds) the vehicle extrapolation will attempt to compensate for.&lt;br /&gt;
:Only relevant if &amp;lt;vehext_percent&amp;gt; is greater than zero.&lt;br /&gt;
:'''It only works on server build 4456 or later.'''&lt;br /&gt;
:Available range: 50 to 500.  Default - 150&lt;br /&gt;
&lt;br /&gt;
====latency_reduction====&lt;br /&gt;
:''&amp;lt;latency_reduction&amp;gt;0&amp;lt;/latency_reduction&amp;gt;&lt;br /&gt;
:This parameter can reduce the delay of player actions appearing on remote clients by 2 frames (approx 50ms).&lt;br /&gt;
:Due to the impact this may have on shot lag compensation, it should be considered experimental.&lt;br /&gt;
:Values: 0 - disabled , 1 - enabled ; default value: 0.&lt;br /&gt;
&lt;br /&gt;
====threadnet====&lt;br /&gt;
:''&amp;lt;threadnet&amp;gt;1&amp;lt;/threadnet&amp;gt; &lt;br /&gt;
:This parameter specifies whether or not to run the network synchronization on another thread.&lt;br /&gt;
:Enabling will make the sync smoother, but may increase cpu usage slightly.&lt;br /&gt;
:Values: 0 - disabled , 1 - enabled ; default value: 1.&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
&lt;br /&gt;
====idfile====&lt;br /&gt;
:''&amp;lt;idfile&amp;gt;server-id.keys&amp;lt;/idfile&amp;gt; &lt;br /&gt;
:Specifies the location and file name of this servers unique private key. This is used to prevent private files saved on the client from being read by other servers. &lt;br /&gt;
:Keep a backup of this file in a safe place. Default value: server-id.keys&lt;br /&gt;
:More information about client private files: [[Filepath]]&lt;br /&gt;
&lt;br /&gt;
====logfile====&lt;br /&gt;
:''&amp;lt;logfile&amp;gt;logs/server.log&amp;lt;/logfile&amp;gt;&lt;br /&gt;
:Specifies the location and name of the main server log file. If left blank, server won't be saving this file.&lt;br /&gt;
&lt;br /&gt;
====authfile====&lt;br /&gt;
:''&amp;lt;authfile&amp;gt;logs/server_auth.log&amp;lt;/authfile&amp;gt;&lt;br /&gt;
:As well as the main log file, login successes and failures are logged here for easy reviewing of security issues. If left blank, this file is not used&lt;br /&gt;
&lt;br /&gt;
====dbfile====&lt;br /&gt;
:''&amp;lt;dbfile&amp;gt;logs/db.log&amp;lt;/dbfile&amp;gt;&lt;br /&gt;
:Specifies the location and name of the file used to log database queries. The server command [[Server_Commands#debugdb|debugdb]] sets the amount of logging.&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0136|1.3.4|5809|&lt;br /&gt;
====loadstringfile====&lt;br /&gt;
:''&amp;lt;!-- &amp;lt;loadstringfile&amp;gt;logs/loadstring.log&amp;lt;/loadstringfile&amp;gt; --&amp;gt;&lt;br /&gt;
:Specifies the location and name of the file used to log loadstring function calls. If left blank or not set, no logging is done.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====acl====&lt;br /&gt;
:''&amp;lt;acl&amp;gt;acl.xml&amp;lt;/acl&amp;gt; &lt;br /&gt;
:This parameter specifies the location and name of the Access Control List settings file. If left&lt;br /&gt;
:blank, server will use acl.xml file, located in the same folder as this configuration file.&lt;br /&gt;
&lt;br /&gt;
====scriptdebuglogfile====&lt;br /&gt;
:''&amp;lt;scriptdebuglogfile&amp;gt;logs/scripts.log&amp;lt;/scriptdebuglogfile&amp;gt; &lt;br /&gt;
:Specifies the location and name of the debugscript log file. If left blank, server won't be saving this file.&lt;br /&gt;
&lt;br /&gt;
====scriptdebugloglevel====&lt;br /&gt;
:''&amp;lt;scriptdebugloglevel&amp;gt;0&amp;lt;/scriptdebugloglevel&amp;gt;&lt;br /&gt;
:Specifies the level of the debugscript log file. Available values: 0, 1, 2, 3. When not set, defaults to 0.&lt;br /&gt;
&lt;br /&gt;
====fpslimit====&lt;br /&gt;
:''&amp;lt;fpslimit&amp;gt;36&amp;lt;/fpslimit&amp;gt;&lt;br /&gt;
:Specifies the frame rate limit that will be applied to connecting clients.&lt;br /&gt;
:Available range: 25 to 100. Default: 36.&lt;br /&gt;
:This parameter can be changed and saved while the server is running with [[setServerConfigSetting]]&lt;br /&gt;
&lt;br /&gt;
====autologin====&lt;br /&gt;
:''&amp;lt;autologin&amp;gt;0&amp;lt;/autologin&amp;gt;&lt;br /&gt;
:Specifies whether or not players should automatically be logged in based on their IP adresses&lt;br /&gt;
&lt;br /&gt;
====voice====&lt;br /&gt;
:''&amp;lt;voice&amp;gt;0&amp;lt;/voice&amp;gt;&lt;br /&gt;
:This parameter specifies whether or not to enable player voice chat in-game&lt;br /&gt;
:Values: 0 - disabled , 1 - enabled&lt;br /&gt;
&lt;br /&gt;
====voice_samplerate====&lt;br /&gt;
:''&amp;lt;voice_samplerate&amp;gt;1&amp;lt;/voice_samplerate&amp;gt;&lt;br /&gt;
:This parameter specifies the sample rate for voice chat.  'voice' parameter must be set to 1 for this to be effective. Higher settings use more bandwidth and increase the sampling quality of voice chat&lt;br /&gt;
:Values: 0 - Narrowband (8kHz), 1 - Wideband (16kHz), 2 - Ultrawideband (32kHz).  Default - 1&lt;br /&gt;
&lt;br /&gt;
====voice_quality====&lt;br /&gt;
:''&amp;lt;voice_quality&amp;gt;4&amp;lt;/voice_quality&amp;gt;&lt;br /&gt;
:This parameter specifies the voice quality for voice chat.  'voice' parameter must be set to 1 for this to be effective. Higher settings use more bandwidth and increase the the overall quality of voice chat&lt;br /&gt;
:Available range: 0 to 10.  Default - 4&lt;br /&gt;
&lt;br /&gt;
====voice_bitrate====&lt;br /&gt;
:''&amp;lt;nowiki&amp;gt;&amp;lt;!-- &amp;lt;voice_bitrate&amp;gt;24600&amp;lt;/voice_bitrate&amp;gt; --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings. If not set, MTA handles this automatically.  Use with care.&lt;br /&gt;
&lt;br /&gt;
====backup_path====&lt;br /&gt;
:''&amp;lt;backup_path&amp;gt;backups&amp;lt;/backup_path&amp;gt;&lt;br /&gt;
:This parameter specifies the path to use for a basic backup of some server files. Note that basic backups are only made during server startup. Default value: backups&lt;br /&gt;
&lt;br /&gt;
====backup_interval====&lt;br /&gt;
:''&amp;lt;backup_interval&amp;gt;3&amp;lt;/backup_interval&amp;gt;&lt;br /&gt;
:This parameter specifies the number of days between each basic backup. Backups are only made during server startup, so the actual interval maybe much longer. Setting backup_interval to 0 will disable backups&lt;br /&gt;
:Available range: 0 to 30.  Default - 3&lt;br /&gt;
&lt;br /&gt;
====backup_copies====&lt;br /&gt;
:''&amp;lt;backup_copies&amp;gt;5&amp;lt;/backup_copies&amp;gt;&lt;br /&gt;
:This parameter specifies the maximum number of backup copies to keep. Setting backup_copies to 0 will disable backups&lt;br /&gt;
:Available range: 0 to 100.  Default - 5&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0136|1.3.4|5950|&lt;br /&gt;
====compact_internal_databases====&lt;br /&gt;
:''&amp;lt;compact_internal_databases&amp;gt;1&amp;lt;/compact_internal_databases&amp;gt;&lt;br /&gt;
:This parameter specifies when the internal sqlite databases should be defragmented. Details: http://www.sqlite.org/lang_vacuum.html&lt;br /&gt;
:Values: 0 - Never, 1 - On server start only after basic backup, 2 - On server start always.  Default - 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====module====&lt;br /&gt;
:''&amp;lt;nowiki&amp;gt;&amp;lt;!-- &amp;lt;module src=&amp;quot;sample_win32.dll&amp;quot;/&amp;gt; --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:''&amp;lt;nowiki&amp;gt;&amp;lt;!-- &amp;lt;module src=&amp;quot;sample_linux.so&amp;quot;/&amp;gt; --&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:Specifies the module(s) which are loaded with the server. To load several modules, add more &amp;lt;module&amp;gt; parameter(s). Optional parameter.&lt;br /&gt;
&lt;br /&gt;
====resource====&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;admin&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;defaultstats&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;helpmanager&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;joinquit&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;mapcycler&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;mapmanager&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;parachute&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;resourcebrowser&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;1&amp;quot; default=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;resourcemanager&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;scoreboard&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;spawnmanager&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;voice&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;votemanager&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:''&amp;lt;resource src=&amp;quot;webadmin&amp;quot; startup=&amp;quot;1&amp;quot; protected=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
:Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more &amp;lt;resource&amp;gt; parameter(s).&lt;br /&gt;
&lt;br /&gt;
[[Category: Support]]&lt;br /&gt;
[[ru:Server mtaserver.conf]]&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_on_Linux_Manual&amp;diff=44838</id>
		<title>Client on Linux Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_on_Linux_Manual&amp;diff=44838"/>
		<updated>2015-04-09T03:55:16Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: MSVC++ incompatibilities with Ubuntu's default Wine version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Warning|This page is for Linux players '''ONLY''', for Windows go [[Client Manual|here]].|true}}&lt;br /&gt;
==Before you start==&lt;br /&gt;
&lt;br /&gt;
First of all, please ensure your computer fits the requirements needed.&lt;br /&gt;
Read the [[Client_Manual|Client Manual]] page for further informations, or join us on IRC @ irc://irc.multitheftauto.com/mta&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
The hardware requirements for Multi Theft Auto: San Andreas are the same than on Windows.&lt;br /&gt;
For software requirements, you need:&lt;br /&gt;
* Wine (get it on your package manager (synaptic, apt, pacman, yum etc.); follow instructions [https://www.winehq.org/download/ubuntu here] if you're using Ubuntu&lt;br /&gt;
(as of MTA 1.4.1 Ubuntu's default Wine package seems to be incompatible with Visual C++, which is required to install MTA)&lt;br /&gt;
* Windows fonts installed:&lt;br /&gt;
** tahoma.ttf&lt;br /&gt;
** tahomabd.ttf&lt;br /&gt;
** verdana.ttf&lt;br /&gt;
Get them on the Internet, e.g. [http://fontonic.com/ fontonic.com]&lt;br /&gt;
&lt;br /&gt;
Or get the zip archive with the 3 fonts here: [http://www.4shared.com/zip/IsErUbQAba/wine_mta_fonts.html wine_mta_fonts.zip]&lt;br /&gt;
&lt;br /&gt;
Install them in: &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;~/.wine/dosdevices/c:/windows/Fonts/&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
(~/ points to your user home folder on Linux, .wine is the default wineprefix)&lt;br /&gt;
&lt;br /&gt;
==Installing the game==&lt;br /&gt;
Download the MTA installer from [http://www.mtasa.com mtasa.com], ensure you can launch it (chmod +x) then install it when you want.&lt;br /&gt;
&lt;br /&gt;
==Running the game==&lt;br /&gt;
Once installed, double-clicking on the Multi Theft Auto.exe should work. If not, try in a terminal the following command: &amp;quot;wine Multi Theft Auto.exe&amp;quot; in the directory you installed Multi Theft Auto to.&lt;br /&gt;
If it doesn't work, check the contents of the file c:/Program_Files/Multi Theft Auto/MTA/CEGUI.log, which may contain useful information.&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
===Specific issues===&lt;br /&gt;
* Impossible connection through the server browser [Fixed in the [http://bugs.mtasa.com/view.php?id=5084 5084 bug] ]&lt;br /&gt;
&lt;br /&gt;
* MTA won't start on Ubuntu 12.04 LTS [Temporary fix is available [http://forum.mtasa.com/viewtopic.php?p=434011#p434011 here] ]&lt;br /&gt;
&lt;br /&gt;
===Other issues===&lt;br /&gt;
* MTA isn't starting (even with fonts installed)&lt;br /&gt;
#Try to start MTA:SA in a virtual desktop&lt;br /&gt;
#:Go to WineConfig, choose the tab &amp;quot;Graphics&amp;quot; and select &amp;quot;Emulate a virtual desktop&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
#Try to delete your gta_sa.set file&lt;br /&gt;
#:which is located in the &amp;quot;GTA San Andreas User Files&amp;quot; folder, which can be found in your home directory.&amp;lt;br&amp;gt;'''(Remember to create a copy, if you're playing San Andreas in singleplayer)'''&lt;br /&gt;
#Try to delete your MTA config file&lt;br /&gt;
#:which is: &amp;quot;MTA San Andreas 1.3/MTA/coreconfig.xml&amp;quot;&amp;lt;br&amp;gt;'''(Also remember to create a copy, if you don't want to lose your edited MTA configuration)'''&lt;br /&gt;
&lt;br /&gt;
* Crash when connecting&lt;br /&gt;
*:Sometimes the audio-server makes problems (could be related to pulseaudio), in this case you've to go to WineConfig and choose the tab Audio, then deselect &amp;quot;ALSA&amp;quot; and select &amp;quot;EsoundD&amp;quot;. Save the settings and restart MTA.&lt;br /&gt;
* Special Detections (SD)&lt;br /&gt;
*:If you are using a 64 wine version you may have problems with [http://wiki.multitheftauto.com/wiki/Anti-cheat_guide#.3Cenablesd.3E.3C.2Fenablesd.3E Special Detections]. If the server you are trying to connect keeps showing something like [http://i.imgur.com/33T8a82.jpg this], then you should make a [http://wiki.archlinux.org/index.php/Wine#Using_WINEARCH 32 bit wine prefix] (or bottle).&lt;br /&gt;
*:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;export WINEARCH=win32 WINEPREFIX=~/.winegta&lt;br /&gt;
winecfg&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Change Windows version on bottom to Windows 7 and press OK. Now you have a 32 bit wine prefix on ~/.winegta.&lt;br /&gt;
Install GTA:SA and them MTA.&lt;br /&gt;
After this, MTA and GTA have been installed within ~/.winegta prefix which is a 32 bit wine environment.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [http://nightly.mtasa.com/ nightly.mtasa.com] - For nightly builds.&lt;br /&gt;
&lt;br /&gt;
[[Category:Support]]&lt;br /&gt;
[[ru:Client on Linux Manual]]&lt;br /&gt;
[[hu:Client on Linux Manual]]&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Client_on_Linux_Manual&amp;diff=44837</id>
		<title>Client on Linux Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Client_on_Linux_Manual&amp;diff=44837"/>
		<updated>2015-04-08T22:01:27Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: added note about default wineprefix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Warning|This page is for Linux players '''ONLY''', for Windows go [[Client Manual|here]].|true}}&lt;br /&gt;
==Before you start==&lt;br /&gt;
&lt;br /&gt;
First of all, please ensure your computer fits the requirements needed.&lt;br /&gt;
Read the [[Client_Manual|Client Manual]] page for further informations, or join us on IRC @ irc://irc.multitheftauto.com/mta&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
The hardware requirements for Multi Theft Auto: San Andreas are the same than on Windows.&lt;br /&gt;
For software requirements, you need:&lt;br /&gt;
* Wine (get it on your package manager (synaptic, apt, pacman, yum etc.); click [http://tinyurl.com/installWine1-3 here] if you're using Ubuntu&lt;br /&gt;
* Windows fonts installed:&lt;br /&gt;
** tahoma.ttf&lt;br /&gt;
** tahomabd.ttf&lt;br /&gt;
** verdana.ttf&lt;br /&gt;
Get them on the Internet, e.g. [http://fontonic.com/ fontonic.com]&lt;br /&gt;
&lt;br /&gt;
Or get the zip archive with the 3 fonts here: [http://www.4shared.com/zip/IsErUbQAba/wine_mta_fonts.html wine_mta_fonts.zip]&lt;br /&gt;
&lt;br /&gt;
Install them in: &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;~/.wine/dosdevices/c:/windows/Fonts/&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
(~/ points to your user home folder on Linux, .wine is the default wineprefix)&lt;br /&gt;
&lt;br /&gt;
==Installing the game==&lt;br /&gt;
Download the MTA installer from [http://www.mtasa.com mtasa.com], ensure you can launch it (chmod +x) then install it when you want.&lt;br /&gt;
&lt;br /&gt;
==Running the game==&lt;br /&gt;
Once installed, double-clicking on the Multi Theft Auto.exe should work. If not, try in a terminal the following command: &amp;quot;wine Multi Theft Auto.exe&amp;quot; in the directory you installed Multi Theft Auto to.&lt;br /&gt;
If it doesn't work, check the contents of the file c:/Program_Files/Multi Theft Auto/MTA/CEGUI.log, which may contain useful information.&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
===Specific issues===&lt;br /&gt;
* Impossible connection through the server browser [Fixed in the [http://bugs.mtasa.com/view.php?id=5084 5084 bug] ]&lt;br /&gt;
&lt;br /&gt;
* MTA won't start on Ubuntu 12.04 LTS [Temporary fix is available [http://forum.mtasa.com/viewtopic.php?p=434011#p434011 here] ]&lt;br /&gt;
&lt;br /&gt;
===Other issues===&lt;br /&gt;
* MTA isn't starting (even with fonts installed)&lt;br /&gt;
#Try to start MTA:SA in a virtual desktop&lt;br /&gt;
#:Go to WineConfig, choose the tab &amp;quot;Graphics&amp;quot; and select &amp;quot;Emulate a virtual desktop&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
#Try to delete your gta_sa.set file&lt;br /&gt;
#:which is located in the &amp;quot;GTA San Andreas User Files&amp;quot; folder, which can be found in your home directory.&amp;lt;br&amp;gt;'''(Remember to create a copy, if you're playing San Andreas in singleplayer)'''&lt;br /&gt;
#Try to delete your MTA config file&lt;br /&gt;
#:which is: &amp;quot;MTA San Andreas 1.3/MTA/coreconfig.xml&amp;quot;&amp;lt;br&amp;gt;'''(Also remember to create a copy, if you don't want to lose your edited MTA configuration)'''&lt;br /&gt;
&lt;br /&gt;
* Crash when connecting&lt;br /&gt;
*:Sometimes the audio-server makes problems (could be related to pulseaudio), in this case you've to go to WineConfig and choose the tab Audio, then deselect &amp;quot;ALSA&amp;quot; and select &amp;quot;EsoundD&amp;quot;. Save the settings and restart MTA.&lt;br /&gt;
* Special Detections (SD)&lt;br /&gt;
*:If you are using a 64 wine version you may have problems with [http://wiki.multitheftauto.com/wiki/Anti-cheat_guide#.3Cenablesd.3E.3C.2Fenablesd.3E Special Detections]. If the server you are trying to connect keeps showing something like [http://i.imgur.com/33T8a82.jpg this], then you should make a [http://wiki.archlinux.org/index.php/Wine#Using_WINEARCH 32 bit wine prefix] (or bottle).&lt;br /&gt;
*:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;export WINEARCH=win32 WINEPREFIX=~/.winegta&lt;br /&gt;
winecfg&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Change Windows version on bottom to Windows 7 and press OK. Now you have a 32 bit wine prefix on ~/.winegta.&lt;br /&gt;
Install GTA:SA and them MTA.&lt;br /&gt;
After this, MTA and GTA have been installed within ~/.winegta prefix which is a 32 bit wine environment.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [http://nightly.mtasa.com/ nightly.mtasa.com] - For nightly builds.&lt;br /&gt;
&lt;br /&gt;
[[Category:Support]]&lt;br /&gt;
[[ru:Client on Linux Manual]]&lt;br /&gt;
[[hu:Client on Linux Manual]]&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Easing&amp;diff=44836</id>
		<title>Easing</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Easing&amp;diff=44836"/>
		<updated>2015-04-08T10:18:13Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Easing functions describe functions that control the way an interpolation between 0 and 1 is done.&lt;br /&gt;
&lt;br /&gt;
The most basic easing function, linear, is just a linear interpolation at constant speed. Other more advanced easing functions can have acceleration at the beginning, the end or both or deceleration, or even bouncing or elastic effects.&lt;br /&gt;
&lt;br /&gt;
= Preliminary note =&lt;br /&gt;
&lt;br /&gt;
In the functions using easing, there are usually 3 optional parameters. Most functions don't need them at all, the ones needing one or more parameters are listed in the table below. When providing optional parameters, all the parameters before a given parameter must be filled, even if the easing function you intend to use doesn't require such a parameter. In this case, simply use 0 for the parameters you don't need.&lt;br /&gt;
Examples:&lt;br /&gt;
* ''&amp;quot;Linear&amp;quot;'' can be used simply with ''getEasingValue( fProgress, &amp;quot;Linear&amp;quot; )''&lt;br /&gt;
* ''&amp;quot;OutElastic&amp;quot;'' can define ''fEasingPeriod'' and ''fEasingAmplitude'' so it can be used with ''getEasingValue( fProgress, &amp;quot;OutElastic&amp;quot;, 0.3, 1.0 )''&lt;br /&gt;
* ''&amp;quot;InBack&amp;quot;'' can define ''fEasingOvershoot'', but since it comes after ''fEasingPeriod'' and ''fEasingAmplitude'' in the order of parameters, 0 must be used for the others with ''getEasingValue( fProgress, &amp;quot;InBack&amp;quot;, 0, 0, 1.7015 )''&lt;br /&gt;
&lt;br /&gt;
= Easing functions =&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--List of builtin easing functions&lt;br /&gt;
builtins={ &amp;quot;Linear&amp;quot;, &amp;quot;InQuad&amp;quot;, &amp;quot;OutQuad&amp;quot;, &amp;quot;InOutQuad&amp;quot;, &amp;quot;OutInQuad&amp;quot;, &amp;quot;InElastic&amp;quot;, &amp;quot;OutElastic&amp;quot;, &amp;quot;InOutElastic&amp;quot;, &amp;quot;OutInElastic&amp;quot;, &amp;quot;InBack&amp;quot;, &amp;quot;OutBack&amp;quot;, &amp;quot;InOutBack&amp;quot;, &amp;quot;OutInBack&amp;quot;, &amp;quot;InBounce&amp;quot;, &amp;quot;OutBounce&amp;quot;, &amp;quot;InOutBounce&amp;quot;, &amp;quot;OutInBounce&amp;quot;, &amp;quot;SineCurve&amp;quot;, &amp;quot;CosineCurve&amp;quot; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Default values are (when a function can use a parameter but it's not defined by the user):&lt;br /&gt;
* ''fEasingPeriod:'' 0.3&lt;br /&gt;
* ''fEasingAmplitude :'' 1.0&lt;br /&gt;
* ''fEasingOvershoot:'' 1.701&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; class=&amp;quot;unnamed1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th align=&amp;quot;center&amp;quot;&amp;gt;Easing function&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th align=&amp;quot;center&amp;quot;&amp;gt;Function profile&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th align=&amp;quot;center&amp;quot;&amp;gt;Uses fEasingPeriod&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th align=&amp;quot;center&amp;quot;&amp;gt;Uses fEasingAmplitude&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th align=&amp;quot;center&amp;quot;&amp;gt;Uses fEasingOvershoot&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Comments&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;Linear&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-linear.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InQuad&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inquad.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutQuad&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outquad.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InOutQuad&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inoutquad.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutInQuad&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outinquad.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InElastic&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inelastic.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to the elastic effect, this easing function produces some values &amp;lt; 0&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutElastic&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outelastic.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to the elastic effect, this easing function produces some values &amp;gt; 1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InOutElastic&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inoutelastic.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to the elastic effect, this easing function produces some values &amp;lt; 0 and &amp;gt; 1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutInElastic&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outinelastic.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to the elastic effect, this easing function produces some values &amp;lt; 0 and &amp;gt; 1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InBack&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inback.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to overshoot, this easing function produces some values &amp;lt; 0&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutBack&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outback.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to overshoot, this easing function produces some values &amp;gt; 1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InOutBack&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inoutback.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Due to overshoot, this easing function produces some values &amp;lt;0 and &amp;gt; 1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutInBack&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outinback.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InBounce&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inbounce.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutBounce&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outbounce.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;InOutBounce&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-inoutbounce.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;OutInBounce&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-outinbounce.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;yes&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;SineCurve&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-sincurve.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;This easing function doesn't end at 1 but goes back to 0. In this case, for interpolation, the target value is just an edge but doesn't represent the stop value.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;CosineCurve&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[File:Qeasingcurve-coscurve.png]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;This easing function both starts and stops at 0.5, going first to 1 then 0. In this case, for interpolation, the source and target values are just the edges but don't represent the start/stop values.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples ==&lt;br /&gt;
&amp;lt;section show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
'''Example 1:''' This example move gate with easing.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local x,y,z = 2096.3, 1721, 12.7&lt;br /&gt;
local easing = &amp;quot;OutBounce&amp;quot;&lt;br /&gt;
local time = 2000&lt;br /&gt;
local gate = createObject(980, x,y,z, 0, 0, 63)&lt;br /&gt;
local marker = createMarker(x,y,z, &amp;quot;cylinder&amp;quot;, 12, 0, 0, 0, 0)&lt;br /&gt;
 &lt;br /&gt;
function moveGate(hitPlayer, matchingDimension)&lt;br /&gt;
        moveObject(gate, time, x+4.9, y+9.6, z, 0, 0, 0, easing)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onMarkerHit&amp;quot;, marker, moveGate)&lt;br /&gt;
 &lt;br /&gt;
function moveBack()&lt;br /&gt;
    moveObject(gate, time, x, y, z, 0, 0, 0, easing)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onMarkerLeave&amp;quot;, marker, moveBack)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Source =&lt;br /&gt;
&lt;br /&gt;
The naming conventions of the functions below, available in [[moveObject]], [[interpolateBetween]], or [[getEasingValue]] have been extracted from [http://doc.qt.nokia.com/latest/qeasingcurve.html Qt documentation]. Only a subset of those functions is available in MTA since some of them are a bit redundant (only the profile of the acceleration/deceleration changes).&lt;br /&gt;
The pictures of the easing functions are directly extracted from Qt documentation, © 2008-2010 Nokia Corporation and/or its subsidiaries.&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetEasingValue&amp;diff=41704</id>
		<title>GetEasingValue</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetEasingValue&amp;diff=41704"/>
		<updated>2014-08-31T13:40:54Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: fixed some grammar mistakes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&lt;br /&gt;
Used for custom Lua based interpolation, returns the easing value (animation time to use in your custom interpolation) given a progress and an [[Easing|easing function]].&lt;br /&gt;
In most cases, either [[moveObject]] or [[interpolateBetween]] can do the job. getEasingValue is only provided in case you want to do your own custom interpolation based on easing.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float getEasingValue( float fProgress, string strEasingType [, float fEasingPeriod, float fEasingAmplitude, float fEasingOvershoot] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''fProgress:''' float between 0 and 1 indicating the interpolation progress (0 at the beginning of the interpolation, 1 at the end).&lt;br /&gt;
*'''strEasingType:''' the [[Easing|easing function]] to use for the interpolation&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''fEasingPeriod:''' the period of the [[Easing|easing function]] (only some easing functions use this parameter)&lt;br /&gt;
*'''fEasingAmplitude:''' the amplitude of the [[Easing|easing function]] (only some easing functions use this parameter)&lt;br /&gt;
*'''fEasingOvershoot:''' the overshoot of the [[Easing|easing function]] (only some easing functions use this parameter)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''fAnimationTime '' the animation time given by the easing function (can be &amp;lt; 0 or &amp;gt; 1 since some [[Easing|easing functions]] have overshoot or bounce/spring effects, ''false'' otherwise (error in parameters).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The examples below are only clientside ones, even though the functions can be used on both sides. Indeed it makes more sense to use them with onClientRender/onClientPreRender but the freedom is given to use it in any other context.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This clientside example uses getEasingValue to make a custom camera fade.&lt;br /&gt;
The command to test it is &amp;quot;/fade&amp;quot;.&lt;br /&gt;
The fading out is done with &amp;quot;InQuad&amp;quot; to have a slow fading which then accelerates and &amp;quot;OutQuad&amp;quot; is used for fading in to have a smooth end of the fading.&lt;br /&gt;
In this example [[interpolateBetween]] could have been used directly to interpolate the alpha between 0 and 255 and then 255 and 0 but is example is just to illustrate the use of getEasingValue by itself.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local g_Fade = nil&lt;br /&gt;
addCommandHandler(&amp;quot;fade&amp;quot;, &lt;br /&gt;
function ()&lt;br /&gt;
	if g_Fade then return end&lt;br /&gt;
	g_Fade = {}&lt;br /&gt;
	g_Fade.startTime = getTickCount()&lt;br /&gt;
	g_Fade.endTime = g_Fade.startTime + 2000&lt;br /&gt;
	g_Fade.easingFunction = &amp;quot;InQuad&amp;quot; --Slow at first and accelerating&lt;br /&gt;
	addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), fadeCameraOut)&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
function fadeCameraOut()&lt;br /&gt;
	local now = getTickCount()&lt;br /&gt;
	local elapsedTime = now - g_Fade.startTime&lt;br /&gt;
	local duration = g_Fade.endTime - g_Fade.startTime&lt;br /&gt;
	local progress = elapsedTime / duration&lt;br /&gt;
	&lt;br /&gt;
	local fAnimationTime = getEasingValue(progress, g_Fade.easingFunction)&lt;br /&gt;
	&lt;br /&gt;
	local alpha = fAnimationTime*255&lt;br /&gt;
	local width, height = guiGetScreenSize()&lt;br /&gt;
	dxDrawRectangle(0, 0, width, height, tocolor(0, 0, 0, alpha), true)&lt;br /&gt;
	&lt;br /&gt;
	if now &amp;gt; g_Fade.endTime then&lt;br /&gt;
		removeEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), fadeCameraOut)&lt;br /&gt;
		g_Fade.startTime = getTickCount()&lt;br /&gt;
		g_Fade.endTime = g_Fade.startTime + 2000&lt;br /&gt;
		g_Fade.easingFunction = &amp;quot;OutQuad&amp;quot; --Fast at first then decelerating&lt;br /&gt;
		addEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), fadeCameraIn)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function fadeCameraIn()&lt;br /&gt;
	local now = getTickCount()&lt;br /&gt;
	local elapsedTime = now - g_Fade.startTime&lt;br /&gt;
	local duration = g_Fade.endTime - g_Fade.startTime&lt;br /&gt;
	local progress = elapsedTime / duration&lt;br /&gt;
	&lt;br /&gt;
	local fAnimationTime = getEasingValue(progress, g_Fade.easingFunction)&lt;br /&gt;
	&lt;br /&gt;
	local alpha = (1-fAnimationTime)*255&lt;br /&gt;
	local width, height = guiGetScreenSize()&lt;br /&gt;
	dxDrawRectangle(0, 0, width, height, tocolor(0, 0, 0, alpha), true)&lt;br /&gt;
		&lt;br /&gt;
	if now &amp;gt; g_Fade.endTime then&lt;br /&gt;
		removeEventHandler(&amp;quot;onClientRender&amp;quot;, getRootElement(), fadeCameraIn)&lt;br /&gt;
		g_Fade = nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility functions}}&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Element/Effect&amp;diff=40607</id>
		<title>Element/Effect</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Element/Effect&amp;diff=40607"/>
		<updated>2014-07-08T14:00:58Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: Fixed a typo in the Lua list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3.0140|1.4|&lt;br /&gt;
The Effect class represents custom effect elements in the game world such as smoke, sparks, fire etc.&lt;br /&gt;
&lt;br /&gt;
The element type of this class is '''&amp;quot;effect&amp;quot;'''.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Effects list ==&lt;br /&gt;
There are 82 effects.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--An array containing all effect names.&lt;br /&gt;
local effectNames = {&lt;br /&gt;
&amp;quot;blood_heli&amp;quot;,&amp;quot;boat_prop&amp;quot;,&amp;quot;camflash&amp;quot;,&amp;quot;carwashspray&amp;quot;,&amp;quot;cement&amp;quot;,&amp;quot;cloudfast&amp;quot;,&amp;quot;coke_puff&amp;quot;,&amp;quot;coke_trail&amp;quot;,&amp;quot;cigarette_smoke&amp;quot;,&amp;quot;explosion_barrel&amp;quot;,&amp;quot;explosion_crate&amp;quot;,&amp;quot;explosion_door&amp;quot;,&amp;quot;exhale&amp;quot;,&amp;quot;explosion_fuel_car&amp;quot;,&amp;quot;explosion_large&amp;quot;,&amp;quot;explosion_medium&amp;quot;,&amp;quot;explosion_molotov&amp;quot;,&amp;quot;explosion_small&amp;quot;,&amp;quot;explosion_tiny&amp;quot;,&amp;quot;extinguisher&amp;quot;,&amp;quot;flame&amp;quot;,&amp;quot;fire&amp;quot;,&amp;quot;fire_med&amp;quot;,&amp;quot;fire_large&amp;quot;,&amp;quot;flamethrower&amp;quot;,&amp;quot;fire_bike&amp;quot;,&amp;quot;fire_car&amp;quot;,&amp;quot;gunflash&amp;quot;,&amp;quot;gunsmoke&amp;quot;,&amp;quot;insects&amp;quot;,&amp;quot;heli_dust&amp;quot;,&amp;quot;jetpack&amp;quot;,&amp;quot;jetthrust&amp;quot;,&amp;quot;nitro&amp;quot;,&amp;quot;molotov_flame&amp;quot;,&amp;quot;overheat_car&amp;quot;,&amp;quot;overheat_car_electric&amp;quot;,&amp;quot;prt_blood&amp;quot;,&amp;quot;prt_boatsplash&amp;quot;,&amp;quot;prt_bubble&amp;quot;,&amp;quot;prt_cardebris&amp;quot;,&amp;quot;prt_collisionsmoke&amp;quot;,&amp;quot;prt_glass&amp;quot;,&amp;quot;prt_gunshell&amp;quot;,&amp;quot;prt_sand&amp;quot;,&amp;quot;prt_sand2&amp;quot;,&amp;quot;prt_smokeII_3_expand&amp;quot;,&amp;quot;prt_smoke_huge&amp;quot;,&amp;quot;prt_spark&amp;quot;,&amp;quot;prt_spark_2&amp;quot;,&amp;quot;prt_splash&amp;quot;,&amp;quot;prt_wake&amp;quot;,&amp;quot;prt_watersplash&amp;quot;,&amp;quot;prt_wheeldirt&amp;quot;,&amp;quot;petrolcan&amp;quot;,&amp;quot;puke&amp;quot;,&amp;quot;riot_smoke&amp;quot;,&amp;quot;spraycan&amp;quot;,&amp;quot;smoke30lit&amp;quot;,&amp;quot;smoke30m&amp;quot;,&amp;quot;smoke50lit&amp;quot;,&amp;quot;shootlight&amp;quot;,&amp;quot;smoke_flare&amp;quot;,&amp;quot;tank_fire&amp;quot;,&amp;quot;teargas&amp;quot;,&amp;quot;teargasAD&amp;quot;,&amp;quot;tree_hit_fir&amp;quot;,&amp;quot;tree_hit_palm&amp;quot;,&amp;quot;vent&amp;quot;,&amp;quot;vent2&amp;quot;,&amp;quot;water_hydrant&amp;quot;,&amp;quot;water_ripples&amp;quot;,&amp;quot;water_speed&amp;quot;,&amp;quot;water_splash&amp;quot;,&amp;quot;water_splash_big&amp;quot;,&amp;quot;water_splsh_sml&amp;quot;,&amp;quot;water_swim&amp;quot;,&amp;quot;waterfall_end&amp;quot;,&amp;quot;water_fnt_tme&amp;quot;,&amp;quot;water_fountain&amp;quot;,&amp;quot;wallbust&amp;quot;,&amp;quot;WS_factorysmoke&amp;quot;&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; font-size: 12px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Name&lt;br /&gt;
!width=&amp;quot;300&amp;quot;|Description&lt;br /&gt;
&amp;lt;!--!width=&amp;quot;160&amp;quot;|Image--&amp;gt;&lt;br /&gt;
&amp;lt;!--!width=&amp;quot;50&amp;quot;|Rotatable--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blood_heli&lt;br /&gt;
|bloody explosion&lt;br /&gt;
|-&lt;br /&gt;
|boat_prop&lt;br /&gt;
|a surf &lt;br /&gt;
|-&lt;br /&gt;
|camflash&lt;br /&gt;
|small flare &lt;br /&gt;
|-&lt;br /&gt;
|carwashspray&lt;br /&gt;
|steam, as on a carwash &lt;br /&gt;
|-&lt;br /&gt;
|cement&lt;br /&gt;
|cement &lt;br /&gt;
|-&lt;br /&gt;
|cloudfast&lt;br /&gt;
|fast clouds &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|coke_puff&lt;br /&gt;
|puff of a coke &lt;br /&gt;
|-&lt;br /&gt;
|coke_trail&lt;br /&gt;
|a pouring water &lt;br /&gt;
|-&lt;br /&gt;
|cigarette_smoke&lt;br /&gt;
|a smoke from a cigarette &lt;br /&gt;
|-&lt;br /&gt;
|explosion_barrel&lt;br /&gt;
|explosion and splinters of a box &lt;br /&gt;
|-&lt;br /&gt;
|explosion_crate&lt;br /&gt;
|explosion and splinters of the large box &lt;br /&gt;
|-&lt;br /&gt;
|explosion_door&lt;br /&gt;
|a smoke with sparks &lt;br /&gt;
|-&lt;br /&gt;
|exhale&lt;br /&gt;
|a small smoke &lt;br /&gt;
|-&lt;br /&gt;
|explosion_fuel_car&lt;br /&gt;
|explosion, as from the machine &lt;br /&gt;
|-&lt;br /&gt;
|explosion_large&lt;br /&gt;
|the large explosion &lt;br /&gt;
|-&lt;br /&gt;
|explosion_medium&lt;br /&gt;
|average explosion &lt;br /&gt;
|-&lt;br /&gt;
|explosion_molotov&lt;br /&gt;
|explosion, as from a movotov cocktail &lt;br /&gt;
|-&lt;br /&gt;
|explosion_small&lt;br /&gt;
|small explosion &lt;br /&gt;
|-&lt;br /&gt;
|explosion_tiny&lt;br /&gt;
|very small explosion &lt;br /&gt;
|-&lt;br /&gt;
|extinguisher&lt;br /&gt;
|foam of the fire extinguisher &lt;br /&gt;
|-&lt;br /&gt;
|flame&lt;br /&gt;
|small fire &lt;br /&gt;
|-&lt;br /&gt;
|fire&lt;br /&gt;
|fire &lt;br /&gt;
|-&lt;br /&gt;
|fire_med&lt;br /&gt;
|average fire &lt;br /&gt;
|-&lt;br /&gt;
|fire_large&lt;br /&gt;
|large fire &lt;br /&gt;
|-&lt;br /&gt;
|flamethrower&lt;br /&gt;
|fire of the flamethrower &lt;br /&gt;
|-&lt;br /&gt;
|fire_bike&lt;br /&gt;
|fire, as from a burning motorcycle &lt;br /&gt;
|-&lt;br /&gt;
|fire_car&lt;br /&gt;
|fire, as from the burning machine &lt;br /&gt;
|-&lt;br /&gt;
|gunflash&lt;br /&gt;
|as the bullet from a trunk takes off &lt;br /&gt;
|-&lt;br /&gt;
|gunsmoke&lt;br /&gt;
|a smoke from a gun &lt;br /&gt;
|-&lt;br /&gt;
|insects&lt;br /&gt;
|insects &lt;br /&gt;
|-&lt;br /&gt;
|heli_dust&lt;br /&gt;
|a dust, as from the helicopter &lt;br /&gt;
|-&lt;br /&gt;
|jetpack&lt;br /&gt;
|a jetpacks fire &lt;br /&gt;
|-&lt;br /&gt;
|jetthrust&lt;br /&gt;
|fire from the muffler of the machine, as during use of nitrogen&lt;br /&gt;
|- &lt;br /&gt;
|nitro&lt;br /&gt;
|nitro &lt;br /&gt;
|-&lt;br /&gt;
|molotov_flame&lt;br /&gt;
|fire from a Molotov Cocktail &lt;br /&gt;
|-&lt;br /&gt;
|overheat_car&lt;br /&gt;
|smoke from damaged car &lt;br /&gt;
|-&lt;br /&gt;
|overheat_car_electric&lt;br /&gt;
|wrecked electro-machine &lt;br /&gt;
|-&lt;br /&gt;
|prt_blood&lt;br /&gt;
|spark? maybe meant to be a mini red blood splash&lt;br /&gt;
|-&lt;br /&gt;
|prt_boatsplash&lt;br /&gt;
|foam &lt;br /&gt;
|-&lt;br /&gt;
|prt_bubble&lt;br /&gt;
|bubble&lt;br /&gt;
|-&lt;br /&gt;
|prt_cardebris&lt;br /&gt;
|splinters from a box &lt;br /&gt;
|-&lt;br /&gt;
|prt_collisionsmoke&lt;br /&gt;
|a dense white smoke &lt;br /&gt;
|-&lt;br /&gt;
|prt_glass&lt;br /&gt;
|a crashing glass &lt;br /&gt;
|-&lt;br /&gt;
|prt_gunshell&lt;br /&gt;
|shells &lt;br /&gt;
|-&lt;br /&gt;
|prt_sand&lt;br /&gt;
|sand, which was scattered &lt;br /&gt;
|-&lt;br /&gt;
|prt_sand2&lt;br /&gt;
|there is less sand, than in previous animation &lt;br /&gt;
|-&lt;br /&gt;
|prt_smokeII_3_expand&lt;br /&gt;
|a grey smoke &lt;br /&gt;
|-&lt;br /&gt;
|prt_smoke_huge&lt;br /&gt;
|there is a lot of grey smoke &lt;br /&gt;
|-&lt;br /&gt;
|prt_spark&lt;br /&gt;
|of a spark &lt;br /&gt;
|-&lt;br /&gt;
|prt_spark_2&lt;br /&gt;
|the large sparks &lt;br /&gt;
|-&lt;br /&gt;
|prt_splash&lt;br /&gt;
|burst &lt;br /&gt;
|-&lt;br /&gt;
|prt_wake&lt;br /&gt;
|a wave &lt;br /&gt;
|-&lt;br /&gt;
|prt_watersplash&lt;br /&gt;
|sparks &lt;br /&gt;
|-&lt;br /&gt;
|prt_wheeldirt&lt;br /&gt;
|sparks from wheels of the car&lt;br /&gt;
|- &lt;br /&gt;
|petrolcan&lt;br /&gt;
|a jet &lt;br /&gt;
|-&lt;br /&gt;
|puke&lt;br /&gt;
|belch &lt;br /&gt;
|-&lt;br /&gt;
|riot_smoke&lt;br /&gt;
|there is a lot of smoke &lt;br /&gt;
|-&lt;br /&gt;
|spraycan&lt;br /&gt;
|spray &lt;br /&gt;
|-&lt;br /&gt;
|smoke30lit&lt;br /&gt;
|a smoke &lt;br /&gt;
|-&lt;br /&gt;
|smoke30m&lt;br /&gt;
|a rich smoke &lt;br /&gt;
|-&lt;br /&gt;
|smoke50lit&lt;br /&gt;
|more richer smoke &lt;br /&gt;
|-&lt;br /&gt;
|shootlight&lt;br /&gt;
|a light being shot out (used for searchlights), sparks and glass&lt;br /&gt;
|-&lt;br /&gt;
|smoke_flare&lt;br /&gt;
|a light being shot out, sparks and glass, it makes a good firework effect&lt;br /&gt;
|-&lt;br /&gt;
|tank_fire&lt;br /&gt;
|a shot from the tank &lt;br /&gt;
|-&lt;br /&gt;
|teargas&lt;br /&gt;
|gas, as from gas grenade &lt;br /&gt;
|-&lt;br /&gt;
|teargasAD&lt;br /&gt;
|gas, as from small gas grenade &lt;br /&gt;
|-&lt;br /&gt;
|tree_hit_fir&lt;br /&gt;
|leaf falling &lt;br /&gt;
|-&lt;br /&gt;
|tree_hit_palm&lt;br /&gt;
|falling of pair large leafs &lt;br /&gt;
|-&lt;br /&gt;
|vent&lt;br /&gt;
|slowly dissipating a smoke &lt;br /&gt;
|-&lt;br /&gt;
|vent2&lt;br /&gt;
|practically too most &lt;br /&gt;
|-&lt;br /&gt;
|water_hydrant&lt;br /&gt;
|the large flow of water &lt;br /&gt;
|-&lt;br /&gt;
|water_ripples&lt;br /&gt;
|circles on water &lt;br /&gt;
|-&lt;br /&gt;
|water_speed&lt;br /&gt;
|the large sparks from water &lt;br /&gt;
|-&lt;br /&gt;
|water_splash&lt;br /&gt;
|small sparks from water &lt;br /&gt;
|-&lt;br /&gt;
|water_splash_big&lt;br /&gt;
|average sparks &lt;br /&gt;
|-&lt;br /&gt;
|water_splsh_sml&lt;br /&gt;
|sparks, only them it is not visible almost &lt;br /&gt;
|-&lt;br /&gt;
|water_swim&lt;br /&gt;
|small sparks at navigation &lt;br /&gt;
|-&lt;br /&gt;
|waterfall_end&lt;br /&gt;
|there is a lot of pair &lt;br /&gt;
|-&lt;br /&gt;
|water_fnt_tme&lt;br /&gt;
|the large flow of water &lt;br /&gt;
|-&lt;br /&gt;
|water_fountain&lt;br /&gt;
|water of a fountain &lt;br /&gt;
|-&lt;br /&gt;
|wallbust&lt;br /&gt;
|a disappearing heap pair &lt;br /&gt;
|-&lt;br /&gt;
|WS_factorysmoke&lt;br /&gt;
|smoke&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Client===&lt;br /&gt;
* [[createEffect]]&lt;br /&gt;
* [[setEffectSpeed]]&lt;br /&gt;
* [[getEffectSpeed]]&lt;br /&gt;
* [[setEffectDensity]]&lt;br /&gt;
* [[setEffectDensity]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Element Types]]&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Element/Effect&amp;diff=40606</id>
		<title>Element/Effect</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Element/Effect&amp;diff=40606"/>
		<updated>2014-07-08T13:07:18Z</updated>

		<summary type="html">&lt;p&gt;Rain Gloom: Added list of effect names as an array for easier testing.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3.0140|1.4|&lt;br /&gt;
The Effect class represents custom effect elements in the game world such as smoke, sparks, fire etc.&lt;br /&gt;
&lt;br /&gt;
The element type of this class is '''&amp;quot;effect&amp;quot;'''.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Effects list ==&lt;br /&gt;
There are 82 effects.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--An array containing all effect names.&lt;br /&gt;
local effectNames = {&lt;br /&gt;
&amp;quot;blood_heli&amp;quot;,&amp;quot;boat_prop&amp;quot;,&amp;quot;camflash&amp;quot;,&amp;quot;carwashspray&amp;quot;,&amp;quot;cement&amp;quot;,&amp;quot;cloudfast&amp;quot;,&amp;quot;coke_puff&amp;quot;,&amp;quot;coke_trail&amp;quot;,&amp;quot;cigarette_smoke&amp;quot;,&amp;quot;explosion_barrel&amp;quot;,&amp;quot;explosion_crate&amp;quot;,&amp;quot;explosion_door&amp;quot;,&amp;quot;exhale&amp;quot;,&amp;quot;explosion_fuel_car&amp;quot;,&amp;quot;explosion_large&amp;quot;,&amp;quot;explosion_medium&amp;quot;,&amp;quot;explosion_molotov&amp;quot;,&amp;quot;explosion_small&amp;quot;,&amp;quot;explosion_tiny&amp;quot;,&amp;quot;extinguisher&amp;quot;,&amp;quot;flame&amp;quot;,&amp;quot;fire&amp;quot;,&amp;quot;fire_med&amp;quot;,&amp;quot;fire_large&amp;quot;,&amp;quot;flamethrower&amp;quot;,&amp;quot;fire_bike&amp;quot;,&amp;quot;fire_car&amp;quot;,&amp;quot;gunflash&amp;quot;,&amp;quot;gunsmoke&amp;quot;,&amp;quot;insects&amp;quot;,&amp;quot;heli_dust&amp;quot;,&amp;quot;jetpack&amp;quot;,&amp;quot;jetthrust&amp;quot;,&amp;quot;nitro&amp;quot;,&amp;quot;molotov_flame&amp;quot;,&amp;quot;overheat_car&amp;quot;,&amp;quot;overheat_car_electric&amp;quot;,&amp;quot;prt_blood&amp;quot;,&amp;quot;prt_boatsplash&amp;quot;,&amp;quot;prt_bubble&amp;quot;,&amp;quot;prt_cardebris&amp;quot;,&amp;quot;prt_collisionsmoke&amp;quot;,&amp;quot;prt_glass&amp;quot;,&amp;quot;prt_gunshell&amp;quot;,&amp;quot;prt_sand&amp;quot;,&amp;quot;prt_sand2&amp;quot;,&amp;quot;prt_smokeII_3_expand&amp;quot;,&amp;quot;prt_smoke_huge&amp;quot;,&amp;quot;prt_spark&amp;quot;,&amp;quot;prt_spark_2&amp;quot;,&amp;quot;prt_splash&amp;quot;,&amp;quot;prt_wake&amp;quot;,&amp;quot;prt_watersplash&amp;quot;,&amp;quot;prt_wheeldirt&amp;quot;&amp;quot;petrolcan&amp;quot;,&amp;quot;puke&amp;quot;,&amp;quot;riot_smoke&amp;quot;,&amp;quot;spraycan&amp;quot;,&amp;quot;smoke30lit&amp;quot;,&amp;quot;smoke30m&amp;quot;,&amp;quot;smoke50lit&amp;quot;,&amp;quot;shootlight&amp;quot;,&amp;quot;smoke_flare&amp;quot;,&amp;quot;tank_fire&amp;quot;,&amp;quot;teargas&amp;quot;,&amp;quot;teargasAD&amp;quot;,&amp;quot;tree_hit_fir&amp;quot;,&amp;quot;tree_hit_palm&amp;quot;,&amp;quot;vent&amp;quot;,&amp;quot;vent2&amp;quot;,&amp;quot;water_hydrant&amp;quot;,&amp;quot;water_ripples&amp;quot;,&amp;quot;water_speed&amp;quot;,&amp;quot;water_splash&amp;quot;,&amp;quot;water_splash_big&amp;quot;,&amp;quot;water_splsh_sml&amp;quot;,&amp;quot;water_swim&amp;quot;,&amp;quot;waterfall_end&amp;quot;,&amp;quot;water_fnt_tme&amp;quot;,&amp;quot;water_fountain&amp;quot;,&amp;quot;wallbust&amp;quot;,&amp;quot;WS_factorysmoke&amp;quot;&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center; font-size: 12px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Name&lt;br /&gt;
!width=&amp;quot;300&amp;quot;|Description&lt;br /&gt;
&amp;lt;!--!width=&amp;quot;160&amp;quot;|Image--&amp;gt;&lt;br /&gt;
&amp;lt;!--!width=&amp;quot;50&amp;quot;|Rotatable--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blood_heli&lt;br /&gt;
|bloody explosion&lt;br /&gt;
|-&lt;br /&gt;
|boat_prop&lt;br /&gt;
|a surf &lt;br /&gt;
|-&lt;br /&gt;
|camflash&lt;br /&gt;
|small flare &lt;br /&gt;
|-&lt;br /&gt;
|carwashspray&lt;br /&gt;
|steam, as on a carwash &lt;br /&gt;
|-&lt;br /&gt;
|cement&lt;br /&gt;
|cement &lt;br /&gt;
|-&lt;br /&gt;
|cloudfast&lt;br /&gt;
|fast clouds &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|coke_puff&lt;br /&gt;
|puff of a coke &lt;br /&gt;
|-&lt;br /&gt;
|coke_trail&lt;br /&gt;
|a pouring water &lt;br /&gt;
|-&lt;br /&gt;
|cigarette_smoke&lt;br /&gt;
|a smoke from a cigarette &lt;br /&gt;
|-&lt;br /&gt;
|explosion_barrel&lt;br /&gt;
|explosion and splinters of a box &lt;br /&gt;
|-&lt;br /&gt;
|explosion_crate&lt;br /&gt;
|explosion and splinters of the large box &lt;br /&gt;
|-&lt;br /&gt;
|explosion_door&lt;br /&gt;
|a smoke with sparks &lt;br /&gt;
|-&lt;br /&gt;
|exhale&lt;br /&gt;
|a small smoke &lt;br /&gt;
|-&lt;br /&gt;
|explosion_fuel_car&lt;br /&gt;
|explosion, as from the machine &lt;br /&gt;
|-&lt;br /&gt;
|explosion_large&lt;br /&gt;
|the large explosion &lt;br /&gt;
|-&lt;br /&gt;
|explosion_medium&lt;br /&gt;
|average explosion &lt;br /&gt;
|-&lt;br /&gt;
|explosion_molotov&lt;br /&gt;
|explosion, as from a movotov cocktail &lt;br /&gt;
|-&lt;br /&gt;
|explosion_small&lt;br /&gt;
|small explosion &lt;br /&gt;
|-&lt;br /&gt;
|explosion_tiny&lt;br /&gt;
|very small explosion &lt;br /&gt;
|-&lt;br /&gt;
|extinguisher&lt;br /&gt;
|foam of the fire extinguisher &lt;br /&gt;
|-&lt;br /&gt;
|flame&lt;br /&gt;
|small fire &lt;br /&gt;
|-&lt;br /&gt;
|fire&lt;br /&gt;
|fire &lt;br /&gt;
|-&lt;br /&gt;
|fire_med&lt;br /&gt;
|average fire &lt;br /&gt;
|-&lt;br /&gt;
|fire_large&lt;br /&gt;
|large fire &lt;br /&gt;
|-&lt;br /&gt;
|flamethrower&lt;br /&gt;
|fire of the flamethrower &lt;br /&gt;
|-&lt;br /&gt;
|fire_bike&lt;br /&gt;
|fire, as from a burning motorcycle &lt;br /&gt;
|-&lt;br /&gt;
|fire_car&lt;br /&gt;
|fire, as from the burning machine &lt;br /&gt;
|-&lt;br /&gt;
|gunflash&lt;br /&gt;
|as the bullet from a trunk takes off &lt;br /&gt;
|-&lt;br /&gt;
|gunsmoke&lt;br /&gt;
|a smoke from a gun &lt;br /&gt;
|-&lt;br /&gt;
|insects&lt;br /&gt;
|insects &lt;br /&gt;
|-&lt;br /&gt;
|heli_dust&lt;br /&gt;
|a dust, as from the helicopter &lt;br /&gt;
|-&lt;br /&gt;
|jetpack&lt;br /&gt;
|a jetpacks fire &lt;br /&gt;
|-&lt;br /&gt;
|jetthrust&lt;br /&gt;
|fire from the muffler of the machine, as during use of nitrogen&lt;br /&gt;
|- &lt;br /&gt;
|nitro&lt;br /&gt;
|nitro &lt;br /&gt;
|-&lt;br /&gt;
|molotov_flame&lt;br /&gt;
|fire from a Molotov Cocktail &lt;br /&gt;
|-&lt;br /&gt;
|overheat_car&lt;br /&gt;
|smoke from damaged car &lt;br /&gt;
|-&lt;br /&gt;
|overheat_car_electric&lt;br /&gt;
|wrecked electro-machine &lt;br /&gt;
|-&lt;br /&gt;
|prt_blood&lt;br /&gt;
|spark? maybe meant to be a mini red blood splash&lt;br /&gt;
|-&lt;br /&gt;
|prt_boatsplash&lt;br /&gt;
|foam &lt;br /&gt;
|-&lt;br /&gt;
|prt_bubble&lt;br /&gt;
|bubble&lt;br /&gt;
|-&lt;br /&gt;
|prt_cardebris&lt;br /&gt;
|splinters from a box &lt;br /&gt;
|-&lt;br /&gt;
|prt_collisionsmoke&lt;br /&gt;
|a dense white smoke &lt;br /&gt;
|-&lt;br /&gt;
|prt_glass&lt;br /&gt;
|a crashing glass &lt;br /&gt;
|-&lt;br /&gt;
|prt_gunshell&lt;br /&gt;
|shells &lt;br /&gt;
|-&lt;br /&gt;
|prt_sand&lt;br /&gt;
|sand, which was scattered &lt;br /&gt;
|-&lt;br /&gt;
|prt_sand2&lt;br /&gt;
|there is less sand, than in previous animation &lt;br /&gt;
|-&lt;br /&gt;
|prt_smokeII_3_expand&lt;br /&gt;
|a grey smoke &lt;br /&gt;
|-&lt;br /&gt;
|prt_smoke_huge&lt;br /&gt;
|there is a lot of grey smoke &lt;br /&gt;
|-&lt;br /&gt;
|prt_spark&lt;br /&gt;
|of a spark &lt;br /&gt;
|-&lt;br /&gt;
|prt_spark_2&lt;br /&gt;
|the large sparks &lt;br /&gt;
|-&lt;br /&gt;
|prt_splash&lt;br /&gt;
|burst &lt;br /&gt;
|-&lt;br /&gt;
|prt_wake&lt;br /&gt;
|a wave &lt;br /&gt;
|-&lt;br /&gt;
|prt_watersplash&lt;br /&gt;
|sparks &lt;br /&gt;
|-&lt;br /&gt;
|prt_wheeldirt&lt;br /&gt;
|sparks from wheels of the car&lt;br /&gt;
|- &lt;br /&gt;
|petrolcan&lt;br /&gt;
|a jet &lt;br /&gt;
|-&lt;br /&gt;
|puke&lt;br /&gt;
|belch &lt;br /&gt;
|-&lt;br /&gt;
|riot_smoke&lt;br /&gt;
|there is a lot of smoke &lt;br /&gt;
|-&lt;br /&gt;
|spraycan&lt;br /&gt;
|spray &lt;br /&gt;
|-&lt;br /&gt;
|smoke30lit&lt;br /&gt;
|a smoke &lt;br /&gt;
|-&lt;br /&gt;
|smoke30m&lt;br /&gt;
|a rich smoke &lt;br /&gt;
|-&lt;br /&gt;
|smoke50lit&lt;br /&gt;
|more richer smoke &lt;br /&gt;
|-&lt;br /&gt;
|shootlight&lt;br /&gt;
|a light being shot out (used for searchlights), sparks and glass&lt;br /&gt;
|-&lt;br /&gt;
|smoke_flare&lt;br /&gt;
|a light being shot out, sparks and glass, it makes a good firework effect&lt;br /&gt;
|-&lt;br /&gt;
|tank_fire&lt;br /&gt;
|a shot from the tank &lt;br /&gt;
|-&lt;br /&gt;
|teargas&lt;br /&gt;
|gas, as from gas grenade &lt;br /&gt;
|-&lt;br /&gt;
|teargasAD&lt;br /&gt;
|gas, as from small gas grenade &lt;br /&gt;
|-&lt;br /&gt;
|tree_hit_fir&lt;br /&gt;
|leaf falling &lt;br /&gt;
|-&lt;br /&gt;
|tree_hit_palm&lt;br /&gt;
|falling of pair large leafs &lt;br /&gt;
|-&lt;br /&gt;
|vent&lt;br /&gt;
|slowly dissipating a smoke &lt;br /&gt;
|-&lt;br /&gt;
|vent2&lt;br /&gt;
|practically too most &lt;br /&gt;
|-&lt;br /&gt;
|water_hydrant&lt;br /&gt;
|the large flow of water &lt;br /&gt;
|-&lt;br /&gt;
|water_ripples&lt;br /&gt;
|circles on water &lt;br /&gt;
|-&lt;br /&gt;
|water_speed&lt;br /&gt;
|the large sparks from water &lt;br /&gt;
|-&lt;br /&gt;
|water_splash&lt;br /&gt;
|small sparks from water &lt;br /&gt;
|-&lt;br /&gt;
|water_splash_big&lt;br /&gt;
|average sparks &lt;br /&gt;
|-&lt;br /&gt;
|water_splsh_sml&lt;br /&gt;
|sparks, only them it is not visible almost &lt;br /&gt;
|-&lt;br /&gt;
|water_swim&lt;br /&gt;
|small sparks at navigation &lt;br /&gt;
|-&lt;br /&gt;
|waterfall_end&lt;br /&gt;
|there is a lot of pair &lt;br /&gt;
|-&lt;br /&gt;
|water_fnt_tme&lt;br /&gt;
|the large flow of water &lt;br /&gt;
|-&lt;br /&gt;
|water_fountain&lt;br /&gt;
|water of a fountain &lt;br /&gt;
|-&lt;br /&gt;
|wallbust&lt;br /&gt;
|a disappearing heap pair &lt;br /&gt;
|-&lt;br /&gt;
|WS_factorysmoke&lt;br /&gt;
|smoke&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Client===&lt;br /&gt;
* [[createEffect]]&lt;br /&gt;
* [[setEffectSpeed]]&lt;br /&gt;
* [[getEffectSpeed]]&lt;br /&gt;
* [[setEffectDensity]]&lt;br /&gt;
* [[setEffectDensity]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Element Types]]&lt;/div&gt;</summary>
		<author><name>Rain Gloom</name></author>
	</entry>
</feed>