<?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=Winky</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=Winky"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Winky"/>
	<updated>2026-04-05T15:44:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GTA3:MTA_0.5&amp;diff=21364</id>
		<title>GTA3:MTA 0.5</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GTA3:MTA_0.5&amp;diff=21364"/>
		<updated>2009-08-29T09:06:26Z</updated>

		<summary type="html">&lt;p&gt;Winky: Fixed MTA SA link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GTA3:MTA 0.5 is part of Multi Theft Auto 0.5, which is currently the latest MTA release for GTA3 and Vice City. It was the last version of MTA to utilise the old 0.3 core. [[Deathmatch_Client_Manual|Multi Theft Auto: San Andreas]] and all future releases will use the new [[Blue]] core. &lt;br /&gt;
&lt;br /&gt;
It includes three deathmatch game maps:&lt;br /&gt;
&lt;br /&gt;
* [[GTA3_SSV|Shoreside Vale]]&lt;br /&gt;
* [[GTA3_Staunton|Staunton Island]]&lt;br /&gt;
* [[GTA3_Portland|Portland]] &lt;br /&gt;
&lt;br /&gt;
It is compatible with [[MTA_Addons|MTA:mA v3]].&lt;br /&gt;
&lt;br /&gt;
[[Category: MTA 0.5]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GTA3:MTA_0.5&amp;diff=21363</id>
		<title>GTA3:MTA 0.5</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GTA3:MTA_0.5&amp;diff=21363"/>
		<updated>2009-08-29T09:04:30Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added to category MTA 0.5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GTA3:MTA 0.5 is part of Multi Theft Auto 0.5, which is currently the latest MTA release for GTA3 and Vice City. It was the last version of MTA to utilise the old 0.3 core. [[MTA:SA_r1|Multi Theft Auto: San Andreas]] and all future releases will use the new [[Blue]] core. &lt;br /&gt;
&lt;br /&gt;
It includes three deathmatch game maps:&lt;br /&gt;
&lt;br /&gt;
* [[GTA3_SSV|Shoreside Vale]]&lt;br /&gt;
* [[GTA3_Staunton|Staunton Island]]&lt;br /&gt;
* [[GTA3_Portland|Portland]] &lt;br /&gt;
&lt;br /&gt;
It is compatible with [[MTA_Addons|MTA:mA v3]].&lt;br /&gt;
&lt;br /&gt;
[[Category: MTA 0.5]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA:VC_0.5&amp;diff=21362</id>
		<title>MTA:VC 0.5</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA:VC_0.5&amp;diff=21362"/>
		<updated>2009-08-29T09:03:55Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added to category MTA 0.5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MTA:VC 0.5 is part of Multi Theft Auto 0.5, which is currently the latest MTA release for GTA3 and Vice City. It was the last version of MTA to utilise the old 0.3 core. [[MTA:SA_r1|Multi Theft Auto: San Andreas]] and all future releases will use the new [[Blue]] core. &lt;br /&gt;
&lt;br /&gt;
It includes two game modes:&lt;br /&gt;
&lt;br /&gt;
* [[Stunt_mode|Stunt Mode]]&lt;br /&gt;
* [[Deathmatch_Mode_VC|Deathmatch]]&lt;br /&gt;
&lt;br /&gt;
It is compatible with [[MTA_Addons|MTA:mA v3]].&lt;br /&gt;
&lt;br /&gt;
[[Category: MTA 0.5]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GTA3:MTA_0.5_Known_Issues&amp;diff=21361</id>
		<title>GTA3:MTA 0.5 Known Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GTA3:MTA_0.5_Known_Issues&amp;diff=21361"/>
		<updated>2009-08-29T09:01:43Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
This applies to GTA:MTA 0.5, the known issues for MTA:SA 1.x can be found [[Known_Issues_-_FAQ | here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Newest Known Issues are at the bottom of this page'''&lt;br /&gt;
&lt;br /&gt;
''Server Admins: Ensure you have downloaded and installed Patch 1 available [http://multitheftauto.com/mta05/download.php#server_sp1_download here.]''&lt;br /&gt;
&lt;br /&gt;
=== Linux servers have a default MOTD set ===&lt;br /&gt;
Change the url or remove it when you first run the server&lt;br /&gt;
&lt;br /&gt;
=== Linux servers have a default admin password set ===&lt;br /&gt;
Change the password before you first run the server&lt;br /&gt;
&lt;br /&gt;
=== In-game MOTDs appear as nonsense ===&lt;br /&gt;
We noticed this during testing but it wasn't fixed. We'll fix it in the future. In the meantime, disable the MOTD by changing your mtaserver.conf (server admins) and use the rich motd instead.&lt;br /&gt;
&lt;br /&gt;
=== Australian and German EXEs (and possibly others) may produce an &amp;quot;invalid executable&amp;quot; error when you try to start a game ===&lt;br /&gt;
As Australian and German EXEs don't work reliably with MTA, this shouldn't be a huge problem. Try to obtain a standard EXE.&lt;br /&gt;
&lt;br /&gt;
=== Sometimes the url of the Rich MOTD is appended to the server name when it appears in the client ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
This is caused by server names that are greater than 49 characters in length. Please try to keep them less than this to avoid this happening.&lt;br /&gt;
&lt;br /&gt;
=== Server's memory usage increases very quickly ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
We've fixed the memory leak that was causing this, and we'll be releasing a fix for it shortly. We've also fixed some other minor leaks that have existed since 0.4 (and earlier) so it should be better in general on that front.&lt;br /&gt;
&lt;br /&gt;
=== Crash when GTA3 is loading ===&lt;br /&gt;
Make sure you run GTA3 at least once in Single Player without MTA before actually running it with MTA.&lt;br /&gt;
&lt;br /&gt;
=== Freeze when client tries to display dialog asking for game path ===&lt;br /&gt;
There have been a couple of occurence of this, and we'd be interested to see why this is. You can avoid it by manually setting the path in the mta.ini in your game folder (not windows folder anymore). If you have this problem, can you please create a system info profile (Start -&amp;gt; Run -&amp;gt; &amp;quot;systeminfo &amp;gt; c:\sysinfo.txt&amp;quot;) (no quotes) then email me the file sysinfo.txt on your c: drive (email is eAi[at]opencoding[dot]net).&lt;br /&gt;
&lt;br /&gt;
For GTA3, your mta.ini should contain (replace the path if necessary):&lt;br /&gt;
 [Game-GTA3]&lt;br /&gt;
 Version=1&lt;br /&gt;
 Location=C:\Program Files\Rockstar Games\GTAIII\gta3.exe&lt;br /&gt;
&lt;br /&gt;
=== Your client times out as soon as you connect to a server. Players all time out when they connect to your server ===&lt;br /&gt;
&lt;br /&gt;
This has been an unknown problem for quite some time now, but it seems it is caused not by MTA or the MTA Server but by MTAMA, or more specifically scripts running on it. If the scripts send multiple messages to the player when they join it is highly likely to time them out. This results in nobody being able to play.&lt;br /&gt;
&lt;br /&gt;
For now a fix is available for MTAMA [http://forum.mtavc.com/viewtopic.php?p=181919#181919 HERE] (hopefully GRS will also be updated soon)&lt;br /&gt;
&lt;br /&gt;
Please follow Aeron's instructions regarding its use.&lt;br /&gt;
&lt;br /&gt;
A big thank you to Mike for discovering the cause of this problem and Aeron for getting a fix out so quickly.&lt;br /&gt;
&lt;br /&gt;
=== Server Name Length ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
It seems that if a Server Name is set too high then Clients and Admins cannot connect to the Server (even though it starts correctly).&lt;br /&gt;
&lt;br /&gt;
=== Crash on client startup ===&lt;br /&gt;
This might be causes by being unable to download the welcome message. This should only happen if the MTA site is down, or you aren't connected to the internet. If this is the case, it should try to download it for about 15 seconds - before it gives the crash. It might be possible to fix this by adding &amp;quot;DontGetLatest=1&amp;quot; on the second line of your &amp;quot;mta.ini&amp;quot; in your MTA folder (under &amp;quot;[Main]&amp;quot;). Alternatively, try creating a blank file called &amp;quot;mtaclientwelcome.dat&amp;quot; in your MTA folder - this is probably only relevant if this is the first time you've run the MTA 0.5 client.&lt;br /&gt;
Update: We've managed to replicate, confirm and fix this bug. Whenever we release a general patch, this will be fixed. In the meantime, ensure mtaclient.exe can access the internet through your firewall, or for on a LAN you can change the following value in mta.ini .&lt;br /&gt;
 DontGetLatest=1&lt;br /&gt;
&lt;br /&gt;
=== XFire crashes game during loading ===&lt;br /&gt;
Both XFire and MTA use similar methods for integrating themselves into the game. We've contacted XFire to offer our support for them in implementing it, so that it works, but they don't respond. If you wish to use XFire in MTA, contact XFire. In the meantime, disable Xfire before you play.&lt;br /&gt;
&lt;br /&gt;
=== MTA says you have a trainer but you don't ===&lt;br /&gt;
Try closing every other open window first. If that doesn't work, try uninstalling, then reinstalling MTA 0.5 again.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' It has been reported that &amp;quot;Kaspersky Anti Hacker&amp;quot; can set off this error. We advise that you close &amp;quot;Kaspersky Anti Hacker&amp;quot; if you wish to play MTA 0.5.&lt;br /&gt;
&lt;br /&gt;
=== You join a server and are told you are banned, even though you aren't in the ban list ===&lt;br /&gt;
We're not sure what causes this, if anyone has any idea, please contact me (or someone else on the team). Of course, you may be banned by a over-general ban in the server's ban list.&lt;br /&gt;
&lt;br /&gt;
=== GTA3 Shoreside Vale: Two players and two vehicles appear on the character select screen, followed shortly by a crash ===&lt;br /&gt;
We've only seen this occur a few times (once to me during beta) and we'll try to fix it. If someone who has this crash can tell me their crash ID (the error reporter should tell you), it'd help a lot.&lt;br /&gt;
&lt;br /&gt;
=== Server: Attempting to connect to a server with Admin enabled and Admin + disabled, using admin+ causes the server to crash ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
This has been fixed and will be in the server patch 1. In the meantime, either disable Admin entirely, or enable Admin+. Remember to change the password for admin+ and admin from their defaults.&lt;br /&gt;
&lt;br /&gt;
=== MTAMA (mirc admin) times out when you try to connect to a server ===&lt;br /&gt;
Fixed in server patch 1''&lt;br /&gt;
This ia a bug in mIRC. We've fixed the issue that was triggering the bug in mIRC and we'll be releasing the fix along with the next server update.&lt;br /&gt;
&lt;br /&gt;
=== Your server doesn't appear in the server list, or appears as &amp;quot;unscanned&amp;quot; ===&lt;br /&gt;
This isn't an issue, but ensure that you have the correct port open for ASE to query through. This should be your server port plus 123. For example, with the default port of 2003, port 2126 should be open. This is UDP.&lt;br /&gt;
&lt;br /&gt;
=== You recieve the error &amp;quot;ERROR: The ServerName, ServerPort, GameMap, GameHour, GameMins, Weather and BannedFile MUST be specified in the configuration file&amp;quot; when you run your server, and all fields are filled in Only under Server Patch 1 ===&lt;br /&gt;
Ensure that your server name is 49 characters or less. This is a missleading error, we'll fix it in the server patch 1.&lt;br /&gt;
&lt;br /&gt;
=== Client crashes when you join a server ===&lt;br /&gt;
''Fixed in next client release''&lt;br /&gt;
&lt;br /&gt;
This crash may be caused by the client trying to download the rich text MOTD specified by the server and failing (e.g. the site its trying to get it from is down, or the URL is invalid). If this happens, the client will crash. &lt;br /&gt;
&lt;br /&gt;
=== You have quite a few files on your computer called mtachat.txt ===&lt;br /&gt;
MTAchat.txt, as you probably guessed stores a chat log. This feature was added at the last moment and not propperly tested. Concequently, this problem has occured. This is probably due to how the client has been launched (the start path determines where it saves the chat, not the install path). Don't worry about it really.... We'll fix it in the next client version if we can. In the meantime, feel free to delete any files you don't want.&lt;br /&gt;
&lt;br /&gt;
=== You recieve an error &amp;quot;System Error &amp;amp;H80070583 (-2147023485)&amp;quot; (or similar) when running the server config tool (or clicking &amp;quot;Setup Server&amp;quot; in the client) ===&lt;br /&gt;
This can be fixed by deleting the file called &amp;quot;MTAServerConfigTool.exe.manifest&amp;quot; in your Multi Theft Auto install folder.&lt;br /&gt;
&lt;br /&gt;
=== Upon hitting Start Game the client informs you your CLIENT is modifed. ===&lt;br /&gt;
This is an error with the way we temporarily replace some of the games files. When you install take a back up of both weapon.dat and weapon.mta from the /gta?/data/ directory and put them somewhere safe. If you get this error close the client, REPLACE both files and retry.&lt;br /&gt;
&lt;br /&gt;
=== An error appears that begins with &amp;quot;&amp;amp;lt;font face=&amp;quot;Arial&amp;quot; size=2&amp;amp;gt;&amp;quot;. ===&lt;br /&gt;
This means that an error has occured, but the error reporter system is overloaded and can't be sent the error report. Just click the button and ignore it.&lt;br /&gt;
&lt;br /&gt;
=== When playing GTA3 you recieve an &amp;quot;Invalid Executeable&amp;quot; error ===&lt;br /&gt;
This is probably because you are using GTA3 version 1.0 instead of 1.1. You can get the GTA3 1.1 patch [http://www.take2games.com.au/index.php?p=support&amp;amp;product=121,3,Grand%20Theft%20Auto%203,PC,Rockstar_Games,gta3&amp;amp;section=patches here]. If this doesn't work, or you already have GTA3 1.1, check you have the USA/UK exe. If not, try to obtain one.&lt;br /&gt;
&lt;br /&gt;
=== Your virus scanner informs you that the Multi Theft Auto 0.5 executeable is a virus or malware ===&lt;br /&gt;
MTA does not contain any viruses, malware, adware or spyware. If your virus scanner informs you that it is infected, either you have a virus on your computer that is infecting your files, or one of our mirrors has been infected with a virus or your virus scanner is making a mistake. McAfee has been known to make this mistake. We've informed NAI of this, but they've yet to fix it. In the meantime, disable your virus scanner while playing. Also, ensure you only download from this site. This link is hosted by our webhost. Use this if you doubt the validity of your copy of MTA.&lt;br /&gt;
&lt;br /&gt;
[[Category:MTA 0.5]] [[Category:GTA 3]] [[Category:Historical]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA_0.5_Known_Issues&amp;diff=21360</id>
		<title>MTA 0.5 Known Issues</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA_0.5_Known_Issues&amp;diff=21360"/>
		<updated>2009-08-29T09:00:50Z</updated>

		<summary type="html">&lt;p&gt;Winky: Category MTA 0.5 added to article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
This applies to MTA:VC 0.5, the known issues for MTA:SA 1.x can be found [[Known_Issues_-_FAQ | here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Newest Known Issues are at the bottom of this page'''&lt;br /&gt;
&lt;br /&gt;
''Server Admins: Ensure you have downloaded and installed Patch 1 available [http://multitheftauto.com/mta05/download.php#server_sp1_download here.]''&lt;br /&gt;
&lt;br /&gt;
=== Linux servers have a default MOTD set ===&lt;br /&gt;
Change the url or remove it when you first run the server&lt;br /&gt;
&lt;br /&gt;
=== Linux servers have a default admin password set ===&lt;br /&gt;
Change the password before you first run the server&lt;br /&gt;
&lt;br /&gt;
=== In-game MOTDs appear as nonsense ===&lt;br /&gt;
We noticed this during testing but it wasn't fixed. We'll fix it in the future. In the meantime, disable the motd by changing your mtaserver.conf (server admins) and use the rich motd instead.&lt;br /&gt;
&lt;br /&gt;
=== Australian and German EXEs (and possibly others) may produce an &amp;quot;invalid executable&amp;quot; error when you try to start a game ===&lt;br /&gt;
As Australian and German EXEs don't work reliably with MTA, this shouldn't be a huge problem. Try to obtain a standard EXE.&lt;br /&gt;
&lt;br /&gt;
=== The in-game help says the game is MTA 0.4, when it clearly is MTA 0.5 ===&lt;br /&gt;
Live with it&lt;br /&gt;
&lt;br /&gt;
=== Sometimes the url of the Rich MOTD is appended to the server name when it appears in the client ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
This is caused by server names that are greater than 49 characters in length. Please try to keep them less than this to avoid this happening.&lt;br /&gt;
&lt;br /&gt;
=== Server's memory usage increases very quickly ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
We've fixed the memory leak that was causing this. We've also fixed some other minor leaks that have existed since 0.4 (and earlier) so it should be better in general on that front.&lt;br /&gt;
&lt;br /&gt;
=== Crash when Vice City is loading ===&lt;br /&gt;
Make sure you run Vice City at least once in Single Player without MTA before actually running it with MTA.&lt;br /&gt;
&lt;br /&gt;
=== Freeze when client tries to display dialog asking for game path ===&lt;br /&gt;
There have been a couple of occurence of this, and we'd be interested to see why this is. You can avoid it by manually setting the path in the mta.ini in your game folder (not windows folder anymore). If you have this problem, can you please create a system info profile (Start -&amp;gt; Run -&amp;gt; &amp;quot;systeminfo &amp;gt; c:\sysinfo.txt&amp;quot;) (no quotes) then email me the file sysinfo.txt on your c: drive (email is eAi[at]opencoding[dot]net).&lt;br /&gt;
&lt;br /&gt;
For Vice City, your mta.ini should contain (replace the path if necessary):&lt;br /&gt;
 [Game-VC]&lt;br /&gt;
 Version=0&lt;br /&gt;
 Location=C:\Program Files\Rockstar Games\Grand Theft Auto Vice City\gta-vc.exe&lt;br /&gt;
&lt;br /&gt;
=== Your client times out as soon as you connect to a server. Players all time out when they connect to your server ===&lt;br /&gt;
&lt;br /&gt;
This has been an unknown problem for quite some time now, but it seems it is caused not by MTA or the MTA Server but by MTAMA, or more specifically scripts running on it. If the scripts send multiple messages to the player when they join it is highly likely to time them out. This results in nobody being able to play.&lt;br /&gt;
&lt;br /&gt;
For now a fix is available for MTAMA [http://forum.mtavc.com/viewtopic.php?p=181919#181919 HERE] (hopefully GRS will also be updated soon)&lt;br /&gt;
&lt;br /&gt;
Please follow Aeron's instructions regarding its use.&lt;br /&gt;
&lt;br /&gt;
A big thank you to Mike for discovering the cause of this problem and Aeron for getting a fix out so quickly.&lt;br /&gt;
&lt;br /&gt;
=== Server Name Length ===&lt;br /&gt;
''Fixed in server patch 1''&lt;br /&gt;
&lt;br /&gt;
It seems that if a Server Name is set too high then Clients and Admins cannot connect to the Server (even though it starts correctly).&lt;br /&gt;
&lt;br /&gt;
=== Crash on client startup ===&lt;br /&gt;
This might be causes by being unable to download the welcome message. This should only happen if the MTA site is down, or you aren't connected to the internet. If this is the case, it should try to download it for about 15 seconds - before it gives the crash. It might be possible to fix this by adding ''&amp;quot;DontGetLatest=1&amp;quot;'' on the second line of your &amp;quot;mta.ini&amp;quot; in your MTA folder (under &amp;quot;[Main]&amp;quot;). Alternatively, try creating a blank file called &amp;quot;mtaclientwelcome.dat&amp;quot; in your MTA folder - this is probably only relevant if this is the first time you've run the MTA 0.5 client.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' We've managed to replicate, confirm and fix this bug. Whenever we release a general patch, this will be fixed. In the meantime, ensure mtaclient.exe can access the internet through your firewall, or for on a LAN you can change the following value in mta.ini:&lt;br /&gt;
 DontGetLatest=1&lt;br /&gt;
&lt;br /&gt;
=== XFire crashes game during loading ===&lt;br /&gt;
Both XFire and MTA use similar methods for integrating themselves into the game. We've contacted XFire to offer our support for them in implementing it, so that it works, but they don't respond. If you wish to use XFire in MTA, contact XFire. In the meantime, disable Xfire before you play.&lt;br /&gt;
&lt;br /&gt;
=== MTA says you have a trainer but you don't ===&lt;br /&gt;
Try closing every other open window first. If that doesn't work, try uninstalling, then reinstalling MTA 0.5 again. It has also been reported that changing game version from 1.0 to 1.1 (Vice City) can fix this, though we're not sure why - we're looking into it. Further Update: All the error reports that have come in about this are using Vice City 1.0. Try updating to 1.1, if this _doesn't_ work, contact me.&lt;br /&gt;
&lt;br /&gt;
Update: It has been reported that &amp;quot;Kaspersky Anti Hacker&amp;quot; can set off this error. We advise that you close &amp;quot;Kaspersky Anti Hacker&amp;quot; if you wish to play MTA 0.5.&lt;br /&gt;
&lt;br /&gt;
=== If you try to spawn as a Crusader twice, you get disconnected for trainer usage ===&lt;br /&gt;
We'll fix this issue in the next release, in the meantime, avoid using the crusader.&lt;br /&gt;
&lt;br /&gt;
=== You join a server and are told you are banned, even though you aren't in the ban list ===&lt;br /&gt;
We're not sure what causes this, if anyone has any idea, please contact me (or someone else on the team). Of course, you may be banned by a over-general ban in the server's ban list.&lt;br /&gt;
&lt;br /&gt;
=== In Vice City Stunt, RC vehicles can appear locked when you try to enter them ===&lt;br /&gt;
Stand directly in the middle of the RC vehicle (they aren't solid to cars or humans) and press the enter button. You should appear in the RC car.&lt;br /&gt;
&lt;br /&gt;
=== Server: Attempting to connect to a server with Admin enabled and Admin + disabled, using admin+ causes the server to crash ===&lt;br /&gt;
''Fixed in Server Patch 1''&lt;br /&gt;
&lt;br /&gt;
This has been fixed and is in the server patch 1. In the meantime, either disable Admin entierly, or enable Admin+. Remember to change the password for admin+ and admin from their defaults.&lt;br /&gt;
&lt;br /&gt;
=== Vice City crashes when you try to get on a bike as passenger when it has no driver ===&lt;br /&gt;
This has existed as a problem ever since MTA first came out, I'm not sure if we'll bother to fix it. 3.4% of crashes we've logged are caused by this, so it may be worthwhile.&lt;br /&gt;
&lt;br /&gt;
=== MTAMA (mirc admin) times out when you try to connect to a server ===&lt;br /&gt;
''Fixed in Server Patch 1''&lt;br /&gt;
&lt;br /&gt;
This is a bug in mIRC. We've fixed the issue that was triggering the bug in mIRC and we'll be releasing the fix along with the next server update.&lt;br /&gt;
&lt;br /&gt;
=== Your server doesn't appear in the server list, or appears as &amp;quot;unscanned&amp;quot; ===&lt;br /&gt;
This isn't an issue, but ensure that you have the correct port open for ASE to query through. This should be your server port plus 123. For example, with the default port of 2003, port 2126 should be open. This is UDP.&lt;br /&gt;
&lt;br /&gt;
=== You recieve the error &amp;quot;ERROR: The ServerName, ServerPort, GameMap, GameHour, GameMins, Weather and BannedFile MUST be specified in the configuration file&amp;quot; when you run your server, and all fields are filled in ''Only under Server Patch 1'' ===&lt;br /&gt;
Ensure that your server name is 49 characters or less. This is a missleading error, we'll fix it in the server patch 1.&lt;br /&gt;
&lt;br /&gt;
=== Client crashes when you join a server ===&lt;br /&gt;
''Fixed in next client release''&lt;br /&gt;
&lt;br /&gt;
This crash may be caused by the client trying to download the rich text MOTD specified by the server and failing (e.g. the site its trying to get it from is down, or the URL is invalid). If this happens, the client will crash.&lt;br /&gt;
&lt;br /&gt;
=== You have quite a few files on your computer called mtachat.txt ===&lt;br /&gt;
MTAchat.txt, as you probably guessed stores a chat log. This feature was added at the last moment and not propperly tested. Concequently, this problem has occured. This is probably due to how the client has been launched (the start path determines where it saves the chat, not the install path). Don't worry about it really.... We'll fix it in the next client version if we can. In the meantime, feel free to delete any files you don't want.&lt;br /&gt;
&lt;br /&gt;
=== You recieve an error &amp;quot;System Error &amp;amp;H80070583 (-2147023485)&amp;quot; (or similar) when running the server config tool (or clicking &amp;quot;Setup Server&amp;quot; in the client) ===&lt;br /&gt;
This can be fixed by deleting the file called &amp;quot;MTAServerConfigTool.exe.manifest&amp;quot; in your Multi Theft Auto install folder.&lt;br /&gt;
&lt;br /&gt;
=== Upon hitting Start Game the client informs you your CLIENT is modifed. ===&lt;br /&gt;
This is an error with the way we temporarily replace some of the games files. When you install take a back up of both weapon.dat and weapon.mta from the /gta?/data/ directory and put them somewhere safe. If you get this error close the client, REPLACE both files and retry.&lt;br /&gt;
&lt;br /&gt;
=== An error appears that begins with &amp;quot;&amp;amp;lt;font face=&amp;quot;Arial&amp;quot; size=2&amp;amp;gt;&amp;quot;. ===&lt;br /&gt;
This means that an error has occured, but the error reporter system is overloaded and can't be sent the error report. Just click the button and ignore it.&lt;br /&gt;
&lt;br /&gt;
=== Your virus scanner informs you that the Multi Theft Auto 0.5 executeable is a virus or malware ===&lt;br /&gt;
MTA does not contain any viruses, malware, adware or spyware. If your virus scanner informs you that it is infected, either you have a virus on your computer that is infecting your files, or one of our mirrors has been infected with a virus or your virus scanner is making a mistake. McAfee has been known to make this mistake. We've informed NAI of this, but they've yet to fix it. In the meantime, disable your virus scanner while playing. Also, ensure you only download from this site. This link is hosted by our webhost. Use this if you doubt the validity of your copy of MTA.&lt;br /&gt;
&lt;br /&gt;
=== You get a crash at the address 652f30 when starting the game ===&lt;br /&gt;
This is caused by having the incorrect GXT file. To fix this, copy all the gxt files from the Grand Theft Auto Vice City\TEXT folder except the &amp;quot;american.gxt&amp;quot; into the Grand Theft Auto Vice City\MTA folder. You should also ensure you game language is set to english.&lt;br /&gt;
&lt;br /&gt;
[[Category:Vice_City]]&lt;br /&gt;
[[Category:MTA_0.5]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetCameraMatrix&amp;diff=20113</id>
		<title>SetCameraMatrix</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetCameraMatrix&amp;diff=20113"/>
		<updated>2009-06-21T19:56:14Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added the forgotten []&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function sets the camera's position and direction. The first three arguments are the point at which the camera lies, the last three are the point the camera faces (or the point it &amp;quot;looks at&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Calling this function takes the camera's focus away from the player and sets the camera in a fixed position and rotation. The camera's focus can be brought back to the player using the [[setCameraTarget]] function.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraMatrix ( player thePlayer, float positionX, float positionY, float positionZ [, float lookAtX, float lookAtY, float lookAtZ ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player whose camera is to be changed.&lt;br /&gt;
*'''positionX:''' The x coordinate of the camera's position.&lt;br /&gt;
*'''positionY:''' The y coordinate of the camera's position.&lt;br /&gt;
*'''positionZ:''' The z coordinate of the camera's position.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''lookAtX:''' The x coordinate of the point the camera faces.&lt;br /&gt;
*'''lookAtY:''' The y coordinate of the point the camera faces.&lt;br /&gt;
*'''lookAtZ:''' The z coordinate of the point the camera faces.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraMatrix ( float positionX, float positionY, float positionZ [, float lookAtX, float lookAtY, float lookAtZ ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player whose camera is to be changed.&lt;br /&gt;
*'''positionX:''' The x coordinate of the camera's position.&lt;br /&gt;
*'''positionY:''' The y coordinate of the camera's position.&lt;br /&gt;
*'''positionZ:''' The z coordinate of the camera's position.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
*'''lookAtX:''' The x coordinate of the point the camera faces.&lt;br /&gt;
*'''lookAtY:''' The y coordinate of the point the camera faces.&lt;br /&gt;
*'''lookAtZ:''' The z coordinate of the point the camera faces.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the arguments are valid, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This code fixates the camera onto the Vinewood sign in Las Venturas for any player that joins the server:&lt;br /&gt;
&amp;lt;section class=&amp;quot;server&amp;quot; name=&amp;quot;Server script&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setCameraOnPlayerJoin()&lt;br /&gt;
     -- slowly fade the camera in to make the screen visible&lt;br /&gt;
     fadeCamera(source, true, 5)&lt;br /&gt;
     -- set the player's camera to a fixed position, looking at a fixed point&lt;br /&gt;
     setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPlayerJoin&amp;quot;, getRootElement(), setCameraOnPlayerJoin)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Camera functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=TextDisplayGetObservers&amp;diff=20111</id>
		<title>TextDisplayGetObservers</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=TextDisplayGetObservers&amp;diff=20111"/>
		<updated>2009-06-21T19:40:29Z</updated>

		<summary type="html">&lt;p&gt;Winky: not complete yet&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;--TODO&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Text functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:incomplete]]&lt;br /&gt;
[[Category:Needs Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Elements&amp;diff=20110</id>
		<title>Template:Elements</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Elements&amp;diff=20110"/>
		<updated>2009-06-21T19:31:56Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added ped element&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Element/Player|Player]]&lt;br /&gt;
* [[Element/Ped|Ped]]&lt;br /&gt;
* [[Element/Vehicle|Vehicle]]&lt;br /&gt;
* [[Element/Object|Object]]&lt;br /&gt;
* [[Element/Pickup|Pickup]]&lt;br /&gt;
* [[Element/Marker|Marker]]&lt;br /&gt;
* [[Element/Collision shape|Collision shape]]&lt;br /&gt;
* [[Element/Blip|Blip]]&lt;br /&gt;
* [[Element/Radar area|Radar area]]&lt;br /&gt;
* [[Element/Projectile|Projectile]]&lt;br /&gt;
* [[Element/Team|Team]]&lt;br /&gt;
* [[Element/Console|Server console]]&lt;br /&gt;
* [[Element/Admin|Remote admin]]&lt;br /&gt;
* [[GUI widgets]]:&lt;br /&gt;
&amp;lt;ul&amp;gt;{{GUI_widgets}}&amp;lt;/ul&amp;gt;&lt;br /&gt;
* [[Element/TXD|TXD]]&lt;br /&gt;
* [[Element/DFF|DFF]]&lt;br /&gt;
* [[Element/COL|COL]]&lt;br /&gt;
* [[Element/Sound|Sound]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Element/Console&amp;diff=20109</id>
		<title>Element/Console</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Element/Console&amp;diff=20109"/>
		<updated>2009-06-21T19:29:13Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Server Console class represents the server console.&lt;br /&gt;
&lt;br /&gt;
The element type of this class is '''&amp;quot;console&amp;quot;'''.&lt;br /&gt;
&lt;br /&gt;
[[Category:Incomplete]]&lt;br /&gt;
[[Category:Element Types]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Element/Console&amp;diff=20108</id>
		<title>Element/Console</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Element/Console&amp;diff=20108"/>
		<updated>2009-06-21T19:28:11Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: The Console class represents the server console.  The element type of this class is '''&amp;quot;console&amp;quot;'''.  Category:Incomplete Category:Element Types&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Console class represents the server console.&lt;br /&gt;
&lt;br /&gt;
The element type of this class is '''&amp;quot;console&amp;quot;'''.&lt;br /&gt;
&lt;br /&gt;
[[Category:Incomplete]]&lt;br /&gt;
[[Category:Element Types]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Known_Issues_-_FAQ&amp;diff=20103</id>
		<title>Known Issues - FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Known_Issues_-_FAQ&amp;diff=20103"/>
		<updated>2009-06-21T08:26:06Z</updated>

		<summary type="html">&lt;p&gt;Winky: Linked to the map editor FAQ&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Post here your proposed Q&amp;amp;A, regarding the known problems with MTA:SA and their solutions, especially the problems we are encountering now, that might be also encountered by users in the final release. You're also welcome to edit them grammar/style wise.&lt;br /&gt;
&lt;br /&gt;
[[Resource:Editor#FAQ|Map editor FAQ/known issues can be found here.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Client ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
==== Does MTASA work with v1.01 or v2.00 of GTA San Andreas? ====&lt;br /&gt;
No. It can be made to work with them however - please see [http://forum.mtavc.com/viewtopic.php?t=15151 this forum topic] for instructions on patching the exe.&lt;br /&gt;
&lt;br /&gt;
==== The game says it cannot locate the map editor ====&lt;br /&gt;
Map editor for MTA: Deathmatch is not available for Developer Preview 2. It is available as an optional download for 1.0-based nightly builds however, and will be available by default on MTA:SA 1.0 final build. &lt;br /&gt;
For instructions on how to get a nightly build, see [http://code.google.com/p/multitheftauto/wiki/NightlyBuilds?tm=2 our Google Code page]&lt;br /&gt;
&lt;br /&gt;
See also: [[Resource:Editor|Main article about Map Editor]]&lt;br /&gt;
&lt;br /&gt;
==== Initial black screen/hanging GTA splash screens ====&lt;br /&gt;
* '''MTA shows a permanent black screen or hanging GTA splash screens.'''&lt;br /&gt;
&lt;br /&gt;
It may be necessary that during/after the logo splash screens in Grand Theft Auto you have to give some input in order to skip the videos correctly. Try to click your left-mouse button a few times, or tapping a few keys.&lt;br /&gt;
&lt;br /&gt;
* '''MTA shows a permanent black screen after the GTA splash screens (possibly with text in the bottom right corner).'''&lt;br /&gt;
&lt;br /&gt;
This can be related to a lack of support for DirectX or video card features, on your system, which are needed to run the dynamically rendered menu. This dynamic menu is enabled by default. You can disable it by opening your [[coreconfig.xml]] configuration file located in the ''GTA San Andreas\MTA'' directory, and changing the value of ''menu_options'' to ''248''.&lt;br /&gt;
&lt;br /&gt;
==== Halt after MTA splash screen ====&lt;br /&gt;
* '''Nothing happens after the 'Stop playing with yourself' splash screen'''&lt;br /&gt;
&lt;br /&gt;
If you use nVidia GeForce, try turning off nView Desktop Manager before starting MTA.&lt;br /&gt;
&lt;br /&gt;
Also try deleting GTA San Andreas settings file (&amp;quot;gta_sa.set&amp;quot;) in &amp;quot;Documents\GTA San Andreas User Files&amp;quot; folder&lt;br /&gt;
&lt;br /&gt;
==== Crash after MTA splash screen ====&lt;br /&gt;
* '''MTA crashes after the 'Stop playing with yourself' logo. Both single player and the MTA: Race ran fine before.'''&lt;br /&gt;
&lt;br /&gt;
Try downloading the latest DirectX Runtime files from [http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&amp;amp;DisplayLang=en Microsoft]. Also check in Task Manager, if gta_sa.exe process isn't already running.&lt;br /&gt;
&lt;br /&gt;
If you run at any substandard resolutions (e.g. 960x720), try to change your resolution to a commonly supported one (e.g. 640×480, 800×600, 1024×768, 1152×864, 1280×1024) by launching Grand Theft Auto: San Andreas in normal mode, setting the new resolution and exiting.&lt;br /&gt;
&lt;br /&gt;
==== Assertion in CMainMenu.cpp line 106 upon launching MTASA  ====&lt;br /&gt;
* '''I'm getting an assertion in CMainMenu.cpp (line 106) after I have launched MTASA. I'm able to ignore it, but then game crashes after I try to connect to a server.'''&lt;br /&gt;
&lt;br /&gt;
This is likely caused by GTASA or MTA:SA being installed in a path that contains non-ASCII characters (eg. Cyrillic, Polish, Japanese) in it.  &lt;br /&gt;
&lt;br /&gt;
To resolve this, you need to uninstall MTA:SA and GTASA, then install them in such paths that don't contain such characters.&lt;br /&gt;
&lt;br /&gt;
==== Crash after connecting to any server ====&lt;br /&gt;
* '''MTASA crashes upon connecting to any server. Single player runs fine.'''&lt;br /&gt;
&lt;br /&gt;
Single player mods can affect the way MTA:SA works, potentially causing crashes - you should always use a clean GTASA install for MTA:SA.&lt;br /&gt;
&lt;br /&gt;
This might also occur on non-modded installs, when your GTASA executable is in an unsupported by MTA:SA version (eg. 1.0 German or Australian). To resolve this, use [http://forum.multitheftauto.com/viewtopic.php?f=89&amp;amp;t=15151 our converter].&lt;br /&gt;
&lt;br /&gt;
==== Controls not working ====&lt;br /&gt;
* '''My controls don't seem to work as they should.'''&lt;br /&gt;
&lt;br /&gt;
Try using the 'copygtacontrols' command in the console.&lt;br /&gt;
&lt;br /&gt;
==== Incorrect models ====&lt;br /&gt;
* '''Woman model's breasts look awkward ingame / I'm seeing odd, spider-like shaped player models.'''&lt;br /&gt;
&lt;br /&gt;
This is caused by the way GTA handles player stats. To fix this, be sure to set both fat and muscles player stats to 0, when you're changing player skin.&lt;br /&gt;
&lt;br /&gt;
==== Incorrect drive-by functionality ====&lt;br /&gt;
* '''Drivebys arent working as they should'''&lt;br /&gt;
&lt;br /&gt;
Drivebys are handled by script, and will change depending on the loaded gamemode.&lt;br /&gt;
&lt;br /&gt;
==== Unsaved settings ====&lt;br /&gt;
* '''My MTA setting(s) didn't get saved (...) I crashed.'''&lt;br /&gt;
&lt;br /&gt;
First, configure the MTA the way you want to, then exit the game and launch it again. Settings should get saved. Alternatively, try removing the coreconfig.xml file, then configure it and quit the game.&lt;br /&gt;
&lt;br /&gt;
==== Gamepad support ====&lt;br /&gt;
* '''MTA doesn't recognise my gamepad'''&lt;br /&gt;
&lt;br /&gt;
In DP2, this is a known issue - MTA's keybinds system does not support direct input.  As an alternative, [http://xpadder.com/ XPadder] can be used.  This emulates joypad buttons as keyboard/mouse so that it can be used in MTA.  Please refer to [http://forum.mtasa.com/viewtopic.php?f=87&amp;amp;t=21167 this forum topic] for a brief guide on how to use XPadder.&lt;br /&gt;
&lt;br /&gt;
'''This is no longer an issue in MTASA 1.0 (neither nightlies nor final) however, as we have introduced an initial support for gamepads there.''' You can configure your gamepad in options in MTASA's main menu. If for some reason it doesn't work right, please [http://bugs.mtasa.com inform us about it].&lt;br /&gt;
&lt;br /&gt;
==== Free mouselook not working properly ====&lt;br /&gt;
* '''MTA doesnt recognise my mouse'''&lt;br /&gt;
&lt;br /&gt;
Some people got problems with their mouse in MTA. They can use it in the menu, connect to a server, but they can't use the mouse for free look.&lt;br /&gt;
This problem can be solved by entering a server, click your Win/Windows key at your keyboard once, and then click your mouse.&lt;br /&gt;
If that doesn't work try starting GTA in Singleplayer, go to options &amp;gt; controler setup and set &amp;quot;Configuration&amp;quot; to &amp;quot;Mouse + Keys&amp;quot; instead of &amp;quot;Joypad&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Sky flickering ====&lt;br /&gt;
* '''My screen/sky flickers when weather or sky effects are enabled.&lt;br /&gt;
&lt;br /&gt;
MTA:SA DM uses a new text rendering system from race, which is much more efficient in terms of FPS.  However, this can cause conflicts within the game, particularly with ATI based cards.  To fix this, bring up the console with F8, and type the command '''ceguitext 1'''.  This reverts the rendering method to that of Race.  All glitches should no longer happen, at the cost of lower FPS.&lt;br /&gt;
&lt;br /&gt;
==== Server browser not working ====&lt;br /&gt;
* '''The in-game server browser shows &amp;quot;Loading&amp;quot; but does not come up with any servers'''&lt;br /&gt;
&lt;br /&gt;
Depending on the type and status of the internet connection you are using, it can take up to a few seconds for the server browser to retrieve all the servers. Please wait a little longer for the results to appear.&lt;br /&gt;
&lt;br /&gt;
==== Invalid serial number ====&lt;br /&gt;
* '''I am getting an 'Invalid serial number' error when trying to launch or play the game'''&lt;br /&gt;
&lt;br /&gt;
You are running an outdated version of Multi Theft Auto. Head over to the [http://www.mtasa.com/deathmatch.html download page] and download the latest version of Multi Theft Auto.&lt;br /&gt;
&lt;br /&gt;
==== 'Network module could not be located' ====&lt;br /&gt;
* '''I am getting 'Network module could not be located' error message upon launching MTA:SA DM&lt;br /&gt;
&lt;br /&gt;
Copy the file 'net.dll' from your GTA:SA/mta directory into your GTA:SA directory, overwriting existing files.&lt;br /&gt;
&lt;br /&gt;
==== 'Network module not compatible!' on MTASA launch ====&lt;br /&gt;
* '''I am getting 'Network module not compatible!' error message upon launching MTA:SA DM&lt;br /&gt;
&lt;br /&gt;
This could mean that your MTASA install is incomplete or broken. Reinstall it.&lt;br /&gt;
&lt;br /&gt;
==== 'No such mod installed (deathmatch)' ====&lt;br /&gt;
* '''I am getting a 'No such mod installed (deathmatch)' error message when trying to connect to any server&lt;br /&gt;
&lt;br /&gt;
'''Option 1:''' Simply re-install MTA. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Option 2:''' Run both gta_sa.exe and Multi Theft Auto.exe with administrator privileges.&lt;br /&gt;
&lt;br /&gt;
==== D3dx9_**.dll is not found ====&lt;br /&gt;
* '''When I start Multi Theft Auto: San Andreas I am getting an error D3dx9_**.dll (** = a number) cannot be found.&lt;br /&gt;
&lt;br /&gt;
This means that DirectX 9 is not installed or not up to date.&lt;br /&gt;
To install/update DirectX download the [http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3 DirectX End-User Runtime Web Installer] from the Microsoft download site.&lt;br /&gt;
&lt;br /&gt;
=== Windows Vista®-related ===&lt;br /&gt;
&lt;br /&gt;
==== Crash on launch ====&lt;br /&gt;
* '''I've successfully upgraded from MTA Race to MTASA DM on Vista, but it seems to crash on launch.&lt;br /&gt;
&lt;br /&gt;
'''Option 1''' Go to your Program Files\MTA San Andreas\mods\race directory, and rename client.dll to something else. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Option 2''' Go to your Grand Theft Auto: San Andreas directory (usually Program Files\Rockstar Games\GTA San Andreas&amp;quot;), navigate to the MTA directory, then enter the &amp;quot;data&amp;quot; directory and remove the menu.mkv file. This will start Multi Theft Auto: San Andreas without main menu video rendering.&lt;br /&gt;
&lt;br /&gt;
==== Crash on connect ====&lt;br /&gt;
* '''I seem to crash whenever I connect to a server just before I go in-game on Vista'''&lt;br /&gt;
&lt;br /&gt;
This seems to be an issue with the Microsoft DirectX April 2006 SDK Redistributable DLL file (d3dx9_30.dll) when running in compatibility mode. Please make sure that compatibility mode is competely turned off for  '''both''' your GTA_SA.exe and Multi Theft Auto.exe executables.&lt;br /&gt;
&lt;br /&gt;
==== Invalid or disabled serial error ====&lt;br /&gt;
* '''MTASA DM installer complains about wrong serial provided. I'm running it for the first time.&lt;br /&gt;
&lt;br /&gt;
You need to run the installer with Administrator privileges. To do so, right click on the installer executable, choose 'Properties', go into 'Compatibility' tab and tick the check box on the last field.&lt;br /&gt;
&lt;br /&gt;
Some have found that setting compatibility to Windows XP/2000 have fixed the problem.&lt;br /&gt;
&lt;br /&gt;
If User Account Control is disabled, you might need to enable it and run the installer with admin privileges (like said above) in order to install MTA:SA DM.&lt;br /&gt;
&lt;br /&gt;
*'''I am getting 'invalid serial' when I try to connect to a server'''&lt;br /&gt;
After some research we have found that in most cases this problem occurs if registry data has not been set for some reason. To fix this problem, take the following steps:&lt;br /&gt;
&lt;br /&gt;
Open regedit (start &amp;gt; run &amp;gt; regedit)&amp;lt;br&amp;gt;&lt;br /&gt;
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Multi Theft Auto: San Andreas&amp;lt;br&amp;gt;&lt;br /&gt;
Create a new string key called Username and fill there the username you have on mtabeta.com&amp;lt;br&amp;gt;&lt;br /&gt;
Create one more string key called Serial and paste there the serial from mtabeta.com&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have no serial at http://community.mtasa.com (mtabeta.com) to complete the last step, register on our forums and request one [http://forum.mtasa.com/viewtopic.php?f=89&amp;amp;t=21435&amp;amp;p=269057 here]&lt;br /&gt;
&lt;br /&gt;
*'''I am getting 'disabled serial' when I try to connect to a server'''&lt;br /&gt;
If you receive this message, your serial has been banned (most likely for cheating). There is nothing you can do to fix this. Registering a new account does not unban you.&lt;br /&gt;
&lt;br /&gt;
==== Clock manipulation error ====&lt;br /&gt;
* '''I am getting 'Clock manipulation detected!' error message upon launching MTA:SA DM&lt;br /&gt;
&lt;br /&gt;
This is caused by incorrect system date/time being set (which could be a result of wrong settings or a faulty battery on the pc's motherboard). Setting time and date again should fix the problem.&lt;br /&gt;
&lt;br /&gt;
It might also happen if you are using an AMD Athlon 64 X2 processor with some old drivers. Update them at [http://support.amd.com/us/Pages/drivers.aspx AMD's site].&lt;br /&gt;
&lt;br /&gt;
==== Halt on launch ====&lt;br /&gt;
* '''When I launch MTA:SA DM, nothing happens (GTA_SA.exe is running but not loading up)&lt;br /&gt;
&lt;br /&gt;
Run MTA:SA DM with Administrator privileges. To do this, right click on the installer executable, choose 'Properties', go into 'Compatibility' tab and tick the check box on the last field and try again.&lt;br /&gt;
&lt;br /&gt;
==== General GTA problems ====&lt;br /&gt;
* '''I have unexplainable GTA problems or crashes'''&lt;br /&gt;
&lt;br /&gt;
Make sure your computer as well as your GTA install meet the [[Deathmatch_Client_Manual#System_requirements|minimum requirements]] and that you are not running in any 98/2000/XP/2003 compatibility modes.&lt;br /&gt;
&lt;br /&gt;
Also try the solutions from these pages:&lt;br /&gt;
* http://www.gtaforums.com/index.php?showtopic=273549&amp;amp;view=findpost&amp;amp;p=4537502&lt;br /&gt;
* http://pullmonkey.com/2007/4/30/how-i-got-gta-san-andreas-to-work-with-a-crappy-os-vista&lt;br /&gt;
&lt;br /&gt;
== Server ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
==== Fatal error 3 ====&lt;br /&gt;
* '''I'm getting ''Fatal Error 3'' whenever I connect to my server'''&lt;br /&gt;
&lt;br /&gt;
This error happens when the server you are trying to connect to is unable to provide you the required downloads, because it does not have http downloading enabled. Be sure to set the '''httpdownload''' configuration tag in your configuration to '''1'''.&lt;br /&gt;
==== Download error 9: Error downloading requested files ====&lt;br /&gt;
* '''I'm getting ''Download Error 9: Error downloading requested files'' whenever I connect to my server'''&lt;br /&gt;
&lt;br /&gt;
This error happens when the server you are trying to connect to is unable to provide you with a valid link. This results in a 404 (Not found) HTTP error and an error at your end.&lt;br /&gt;
&lt;br /&gt;
* If you are running the built-in server ('''httpserver''' is set to '''1''' and '''httpdownloadurl''' is empty), make sure that your HTTP server is accessible (you can try to access it by using a browser) for everyone.&lt;br /&gt;
&lt;br /&gt;
* If you have configured an external web server ('''httpdownloadurl''' is set to your custom URL), make sure that your HTTP is accessible and make sure you have read the [[Deathmatch_Server_Manual#Configuring_an_external_web_server | Configuring an external web server]] guide.&lt;br /&gt;
==== Download error 28 ====&lt;br /&gt;
Try closing anti-virus or firewall applications. If it then works, try adding an exception to your firewall to allow your http port through.&lt;br /&gt;
&lt;br /&gt;
=== Windows-related ===&lt;br /&gt;
No known reported issues in the version {{Current Version|full}}.&lt;br /&gt;
&lt;br /&gt;
=== Linux-related ===&lt;br /&gt;
====Default nohup creates infinitely big nohup.out====&lt;br /&gt;
&lt;br /&gt;
Temporary fix, disable the nohup file: 'nohup ./mta_server &amp;gt; /dev/null &amp;amp;'&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientGUITabSwitched&amp;diff=20102</id>
		<title>OnClientGUITabSwitched</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientGUITabSwitched&amp;diff=20102"/>
		<updated>2009-06-21T08:13:49Z</updated>

		<summary type="html">&lt;p&gt;Winky: Started with the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event is triggered each time the user switch from GUI tab.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
''None''&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===GUI events===&lt;br /&gt;
{{GUI_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Needs Example]]&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=20020</id>
		<title>Changes in 1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=20020"/>
		<updated>2009-06-18T21:14:40Z</updated>

		<summary type="html">&lt;p&gt;Winky: /* Chatbox */  window -&amp;gt; menu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.&lt;br /&gt;
&lt;br /&gt;
==Client==&lt;br /&gt;
===General===&lt;br /&gt;
* The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a '''Video''' tab which allows you to set the resolution&lt;br /&gt;
[[Image:Settings_videotab.png]]&lt;br /&gt;
&lt;br /&gt;
===Console commands===&lt;br /&gt;
The console commands now use [[Console Commands and CVars|CVARS]].  This essentially means that the standard commands that are built into MTA now exhibit a different syntax.&lt;br /&gt;
&lt;br /&gt;
Whereas in dp2 you may have done:&lt;br /&gt;
 chat_font 2&lt;br /&gt;
&lt;br /&gt;
In 1.0 you would perform a command that mimics C:&lt;br /&gt;
 chat_font = 2&lt;br /&gt;
&lt;br /&gt;
This applies to all inbuilt commands, except for those that may interface with a server (e.g. ''nick'' or ''me'').&lt;br /&gt;
&lt;br /&gt;
===Chatbox===&lt;br /&gt;
The chatbox has had minor changes in 1.0.  In particular, the text now displays an animation when a new line appears, and the ''Page Up'' and ''Page Down'' keys can be used to scroll the chat.&lt;br /&gt;
Now it is also possible to change the chatbox layout in the settings menu.&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_chatboxtab.png]]&lt;br /&gt;
&lt;br /&gt;
===Host Game===&lt;br /&gt;
This useful addition allows you to quickly start a game without having to run the MTA Server executable.  It is fully functional and based upon the local.conf.&lt;br /&gt;
&lt;br /&gt;
[[Image:Hostgame_window.png]]&lt;br /&gt;
&lt;br /&gt;
===Joypad support===&lt;br /&gt;
From 1.0, users can use their joypad/controller ingame.  The keys for your joypad can be configured in the '''Binds''' tab, and advanced configuration such as analog keys can be configured in the '''Controls''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_controltab.png]]&lt;br /&gt;
&lt;br /&gt;
===Map Editor===&lt;br /&gt;
The Map Editor is now functional as of 1.0.  This is assuming you have the map editor installed.  Please see the [[Editor|Editor manual]] for details.&lt;br /&gt;
&lt;br /&gt;
==Server==&lt;br /&gt;
The interface of the server is largely the same as dp2.x, there have, however been various tweaks&lt;br /&gt;
&lt;br /&gt;
===Server config===&lt;br /&gt;
If upgrading from dp2, you should also add any missing variables to your config:&lt;br /&gt;
* '''fpslimit''': This sets the FPS limit on your server.&lt;br /&gt;
* '''donotbroadcastlan''': This sets whether the server can broadcast to Local Area Network servers&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
The commands of the server console are mostly the same, with the exception of:&lt;br /&gt;
* '''refresh''' - Previously the refresh command would refresh ''all'' resources.  Now it only detects new resources that are in your resources directory&lt;br /&gt;
* '''refreshall''' - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.&lt;br /&gt;
* '''loadmodule''' - Modules can now be loaded using this command without them being set in the server config.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Many of the default resources have been changed or updated, and new ones have also been added.&lt;br /&gt;
&lt;br /&gt;
* Resource [http://community.mtasa.com/index.html?p=resources&amp;amp;s=details&amp;amp;id=57 realdriveby] has been added.  This will facilitate the driveby mode in vehicles&lt;br /&gt;
* Resource [http://community.mtasa.com/index.html?p=resources&amp;amp;s=details&amp;amp;id=43 freeroam] has been added. (This resource is also needed when you want to run the test mode in the map editor)&lt;br /&gt;
* Resource [http://code.google.com/p/multitheftauto-resources/source/browse/#svn/trunk/required/parachute parachute] has been added, which facilitates parachutes from single player.&lt;br /&gt;
* Resource [http://multitheftauto-resources.googlecode.com/svn/trunk/optional/deathmatch deathmatch] has been added. This is a simple frag-/timelimit based deathmatch gamemode with custom map support.&lt;br /&gt;
* Resource [http://multitheftauto-resources.googlecode.com/svn/trunk/optional/race/ race] has undergone many changes and is now much more stable and functional.&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
Much of the scripting interface has changed in 1.0.  Almost all resources will need updating in order to function, although the extent of this varies between scripts.&lt;br /&gt;
All the affected scripting changes can be viewed on [[:Category:Changes_in_1.0|Changes in 1.0]] page.&lt;br /&gt;
&lt;br /&gt;
===Camera functions===&lt;br /&gt;
The [[Server_Scripting_Functions#Camera_functions|Camera Functions]] have been completely overhauled.&lt;br /&gt;
===Player functions===&lt;br /&gt;
Some [[Server_Scripting_Functions#Player_functions|Player functions]] have been renamed to [[Server_Scripting_Functions#Ped_functions|Ped functions]].&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=20019</id>
		<title>Changes in 1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=20019"/>
		<updated>2009-06-18T20:55:52Z</updated>

		<summary type="html">&lt;p&gt;Winky: /* Chatbox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.&lt;br /&gt;
&lt;br /&gt;
==Client==&lt;br /&gt;
===General===&lt;br /&gt;
* The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a '''Video''' tab which allows you to set the resolution&lt;br /&gt;
[[Image:Settings_videotab.png]]&lt;br /&gt;
&lt;br /&gt;
===Console commands===&lt;br /&gt;
The console commands now use [[Console Commands and CVars|CVARS]].  This essentially means that the standard commands that are built into MTA now exhibit a different syntax.&lt;br /&gt;
&lt;br /&gt;
Whereas in dp2 you may have done:&lt;br /&gt;
 chat_font 2&lt;br /&gt;
&lt;br /&gt;
In 1.0 you would perform a command that mimics C:&lt;br /&gt;
 chat_font = 2&lt;br /&gt;
&lt;br /&gt;
This applies to all inbuilt commands, except for those that may interface with a server (e.g. ''nick'' or ''me'').&lt;br /&gt;
&lt;br /&gt;
===Chatbox===&lt;br /&gt;
The chatbox has had minor changes in 1.0.  In particular, the text now displays an animation when a new line appears, and the ''Page Up'' and ''Page Down'' keys can be used to scroll the chat.&lt;br /&gt;
Now it is also possible to change the chatbox layout in the settings window.&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_chatboxtab.png]]&lt;br /&gt;
&lt;br /&gt;
===Host Game===&lt;br /&gt;
This useful addition allows you to quickly start a game without having to run the MTA Server executable.  It is fully functional and based upon the local.conf.&lt;br /&gt;
&lt;br /&gt;
[[Image:Hostgame_window.png]]&lt;br /&gt;
&lt;br /&gt;
===Joypad support===&lt;br /&gt;
From 1.0, users can use their joypad/controller ingame.  The keys for your joypad can be configured in the '''Binds''' tab, and advanced configuration such as analog keys can be configured in the '''Controls''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_controltab.png]]&lt;br /&gt;
&lt;br /&gt;
===Map Editor===&lt;br /&gt;
The Map Editor is now functional as of 1.0.  This is assuming you have the map editor installed.  Please see the [[Editor|Editor manual]] for details.&lt;br /&gt;
&lt;br /&gt;
==Server==&lt;br /&gt;
The interface of the server is largely the same as dp2.x, there have, however been various tweaks&lt;br /&gt;
&lt;br /&gt;
===Server config===&lt;br /&gt;
If upgrading from dp2, you should also add any missing variables to your config:&lt;br /&gt;
* '''fpslimit''': This sets the FPS limit on your server.&lt;br /&gt;
* '''donotbroadcastlan''': This sets whether the server can broadcast to Local Area Network servers&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
The commands of the server console are mostly the same, with the exception of:&lt;br /&gt;
* '''refresh''' - Previously the refresh command would refresh ''all'' resources.  Now it only detects new resources that are in your resources directory&lt;br /&gt;
* '''refreshall''' - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.&lt;br /&gt;
* '''loadmodule''' - Modules can now be loaded using this command without them being set in the server config.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Many of the default resources have been changed or updated, and new ones have also been added.&lt;br /&gt;
&lt;br /&gt;
* Resource [http://community.mtasa.com/index.html?p=resources&amp;amp;s=details&amp;amp;id=57 realdriveby] has been added.  This will facilitate the driveby mode in vehicles&lt;br /&gt;
* Resource [http://community.mtasa.com/index.html?p=resources&amp;amp;s=details&amp;amp;id=43 freeroam] has been added. (This resource is also needed when you want to run the test mode in the map editor)&lt;br /&gt;
* Resource [http://code.google.com/p/multitheftauto-resources/source/browse/#svn/trunk/required/parachute parachute] has been added, which facilitates parachutes from single player.&lt;br /&gt;
* Resource [http://multitheftauto-resources.googlecode.com/svn/trunk/optional/deathmatch deathmatch] has been added. This is a simple frag-/timelimit based deathmatch gamemode with custom map support.&lt;br /&gt;
* Resource [http://multitheftauto-resources.googlecode.com/svn/trunk/optional/race/ race] has undergone many changes and is now much more stable and functional.&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
Much of the scripting interface has changed in 1.0.  Almost all resources will need updating in order to function, although the extent of this varies between scripts.&lt;br /&gt;
All the affected scripting changes can be viewed on [[:Category:Changes_in_1.0|Changes in 1.0]] page.&lt;br /&gt;
&lt;br /&gt;
===Camera functions===&lt;br /&gt;
The [[Server_Scripting_Functions#Camera_functions|Camera Functions]] have been completely overhauled.&lt;br /&gt;
===Player functions===&lt;br /&gt;
Some [[Server_Scripting_Functions#Player_functions|Player functions]] have been renamed to [[Server_Scripting_Functions#Ped_functions|Ped functions]].&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Settings_chatboxtab.png&amp;diff=20018</id>
		<title>File:Settings chatboxtab.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Settings_chatboxtab.png&amp;diff=20018"/>
		<updated>2009-06-18T20:54:49Z</updated>

		<summary type="html">&lt;p&gt;Winky: Chatbox tab in the settings window in 1.0 r1112&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Chatbox tab in the settings window in 1.0 r1112&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19936</id>
		<title>Changes in 1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19936"/>
		<updated>2009-06-15T20:09:14Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added link to category &amp;quot;Changes in 1.0&amp;quot;, linked the resources&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.&lt;br /&gt;
&lt;br /&gt;
==Client==&lt;br /&gt;
===General===&lt;br /&gt;
* The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a '''Video''' tab which allows you to set the resolution&lt;br /&gt;
[[Image:Settings_videotab.png]]&lt;br /&gt;
&lt;br /&gt;
===Console commands===&lt;br /&gt;
The console commands now use [[Console Commands and CVars|CVARS]].  This essentially means that the standard commands that are built into MTA now exhibit a different syntax.&lt;br /&gt;
&lt;br /&gt;
Whereas in dp2 you may have done:&lt;br /&gt;
 chat_font 2&lt;br /&gt;
&lt;br /&gt;
In 1.0 you would perform a command that mimics C:&lt;br /&gt;
 chat_font = 2&lt;br /&gt;
&lt;br /&gt;
This applies to all inbuilt commands, except for those that may interface with a server (e.g. ''nick'' or ''me'').&lt;br /&gt;
&lt;br /&gt;
===Chatbox===&lt;br /&gt;
The chatbox has had minor changes in 1.0.  In particular, the text now displays an animation when a new line appears, and the ''Page Up'' and ''Page Down'' keys can be used to scroll the chat.&lt;br /&gt;
&lt;br /&gt;
===Host Game===&lt;br /&gt;
This useful addition allows you to quickly start a game without having to run the MTA Server executable.  It is fully functional and based upon the local.conf.&lt;br /&gt;
&lt;br /&gt;
[[Image:Hostgame_window.png]]&lt;br /&gt;
&lt;br /&gt;
===Joypad support===&lt;br /&gt;
From 1.0, users can use their joypad/controller ingame.  The keys for your joypad can be configured in the '''Binds''' tab, and advanced configuration such as analog keys can be configured in the '''Controls''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_controltab.png]]&lt;br /&gt;
&lt;br /&gt;
===Map Editor===&lt;br /&gt;
The Map Editor is now functional as of 1.0.  This is assuming you have the map editor installed.  Please see the [[Editor|Editor manual]] for details.&lt;br /&gt;
&lt;br /&gt;
==Server==&lt;br /&gt;
The interface of the server is largely the same as dp2.x, there have, however been various tweaks&lt;br /&gt;
&lt;br /&gt;
===Server config===&lt;br /&gt;
If upgrading from dp2, you should also add any missing variables to your config:&lt;br /&gt;
* '''fpslimit''': This sets the FPS limit on your server.&lt;br /&gt;
* '''donotbroadcastlan''': This sets whether the server can broadcast to Local Area Network servers&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
The commands of the server console are mostly the same, with the exception of:&lt;br /&gt;
* '''refresh''' - Previously the refresh command would refresh ''all'' resources.  Now it only detects new resources that are in your resources directory&lt;br /&gt;
* '''refreshall''' - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.&lt;br /&gt;
* '''loadmodule''' - Modules can now be loaded using this command without them being set in the server config.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Many of the default resources have been changed or updated, and new ones have also been added.&lt;br /&gt;
&lt;br /&gt;
* Resource [http://community.mtasa.com/index.html?p=resources&amp;amp;s=details&amp;amp;id=57 realdriveby] has been added.  This will facilitate the driveby mode in vehicles&lt;br /&gt;
* Resource [http://community.mtasa.com/index.html?p=resources&amp;amp;s=details&amp;amp;id=43 freeroam] has been added. (This resource is also needed when you want to run the test mode in the map editor)&lt;br /&gt;
* Resource [http://code.google.com/p/multitheftauto-resources/source/browse/#svn/trunk/required/parachute parachute] has been added, which facilitates parachutes from single player.&lt;br /&gt;
* Resource [http://multitheftauto-resources.googlecode.com/svn/trunk/optional/race/ race] has undergone many changes and is now much more stable and functional.&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
Much of the scripting interface has changed in 1.0.  Almost all resources will need updating in order to function, although the extent of this varies between scripts.&lt;br /&gt;
All the affected scripting changes can be viewed on [[:Category:Changes_in_1.0|Changes in 1.0]] page.&lt;br /&gt;
&lt;br /&gt;
===Camera functions===&lt;br /&gt;
The [[Server_Scripting_Functions#Camera_functions|Camera Functions]] have been completely overhauled.&lt;br /&gt;
===Player functions===&lt;br /&gt;
Some [[Server_Scripting_Functions#Player_functions|Player functions]] have been renamed to [[Server_Scripting_Functions#Ped_functions|Ped functions]].&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19925</id>
		<title>Changes in 1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19925"/>
		<updated>2009-06-14T12:53:58Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.&lt;br /&gt;
&lt;br /&gt;
==Client==&lt;br /&gt;
===General===&lt;br /&gt;
* The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a '''Video''' tab which allows you to set the resolution&lt;br /&gt;
[[Image:Settings_videotab.png]]&lt;br /&gt;
&lt;br /&gt;
===Console commands===&lt;br /&gt;
The console commands now use [[Console Commands and CVars|CVARS]].  This essentially means that the standard commands that are built into MTA now exhibit a different syntax.&lt;br /&gt;
&lt;br /&gt;
Whereas in dp2 you may have done:&lt;br /&gt;
 chat_font 2&lt;br /&gt;
&lt;br /&gt;
In 1.0 you would perform a command that mimics C:&lt;br /&gt;
 chat_font = 2&lt;br /&gt;
&lt;br /&gt;
This applies to all inbuilt commands, except for those that may interface with a server (e.g. ''nick'' or ''me'').&lt;br /&gt;
&lt;br /&gt;
===Chatbox===&lt;br /&gt;
The chatbox has had minor changes in 1.0.  In particular, the text now displays an animation when a new line appears, and the ''Page Up'' and ''Page Down'' keys can be used to scroll the chat.&lt;br /&gt;
&lt;br /&gt;
===Host Game===&lt;br /&gt;
This useful addition allows you to quickly start a game without having to run the MTA Server executable.  It is fully functional and based upon the local.conf.&lt;br /&gt;
&lt;br /&gt;
[[Image:Hostgame_window.png]]&lt;br /&gt;
&lt;br /&gt;
===Joypad support===&lt;br /&gt;
From 1.0, users can use their joypad/controller ingame.  The keys for your joypad can be configured in the '''Binds''' tab, and advanced configuration such as analog keys can be configured in the '''Controls''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Settings_controltab.png]]&lt;br /&gt;
&lt;br /&gt;
===Map Editor===&lt;br /&gt;
The Map Editor is now functional as of 1.0.  This is assuming you have the map editor installed.  Please see the [[Editor|Editor manual]] for details.&lt;br /&gt;
&lt;br /&gt;
==Server==&lt;br /&gt;
The interface of the server is largely the same as dp2.x, there have, however been various tweaks&lt;br /&gt;
&lt;br /&gt;
===Server config===&lt;br /&gt;
If upgrading from dp2, you should also add any missing variables to your config:&lt;br /&gt;
* '''fpslimit''': This sets the FPS limit on your server.&lt;br /&gt;
* '''donotbroadcastlan''': This sets whether the server can broadcast to Local Area Network servers&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
The commands of the server console are mostly the same, with the exception of:&lt;br /&gt;
* '''refresh''' - Previously the refresh command would refresh ''all'' resources.  Now it only detects new resources that are in your resources directory&lt;br /&gt;
* '''refreshall''' - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.&lt;br /&gt;
* '''loadmodule''' - Modules can now be loaded using this command without them being set in the server config.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Many of the default resources have been changed or updated, and new ones have also been added.&lt;br /&gt;
&lt;br /&gt;
* Resource '''realdriveby''' has been added.  This will facilitate the driveby mode in vehicles&lt;br /&gt;
* Resource '''freeroam''' has been added. (This resource is also needed when you want to run the test mode in the map editor)&lt;br /&gt;
* Resource '''parachute''' has been added, which facilitates parachutes from single player.&lt;br /&gt;
* Resource '''race''' has undergone many changes and is now much more stable and functional.&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
Much of the scripting interface has changed in 1.0.  Almost all resources will need updating in order to function, although the extent of this varies between scripts.&lt;br /&gt;
&lt;br /&gt;
===Camera functions===&lt;br /&gt;
The [[Server_Scripting_Functions#Camera_functions|Camera Functions]] have been completely overhauled.&lt;br /&gt;
===Player functions===&lt;br /&gt;
Some [[Server_Scripting_Functions#Player_functions|Player functions]] have been renamed to [[Server_Scripting_Functions#Ped_functions|Ped functions]].&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Hostgame_window.png&amp;diff=19924</id>
		<title>File:Hostgame window.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Hostgame_window.png&amp;diff=19924"/>
		<updated>2009-06-14T12:52:54Z</updated>

		<summary type="html">&lt;p&gt;Winky: Host game window in MTA:SA 1.0 r1074&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Host game window in MTA:SA 1.0 r1074&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Settings_controltab.png&amp;diff=19923</id>
		<title>File:Settings controltab.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Settings_controltab.png&amp;diff=19923"/>
		<updated>2009-06-14T12:49:49Z</updated>

		<summary type="html">&lt;p&gt;Winky: The control tab in MTA:SA 1.0 r1074&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The control tab in MTA:SA 1.0 r1074&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Settings_videotab.png&amp;diff=19922</id>
		<title>File:Settings videotab.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Settings_videotab.png&amp;diff=19922"/>
		<updated>2009-06-14T12:40:01Z</updated>

		<summary type="html">&lt;p&gt;Winky: The settings window in MTA:SA 1.0 r1074&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The settings window in MTA:SA 1.0 r1074&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19921</id>
		<title>Changes in 1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19921"/>
		<updated>2009-06-14T12:33:27Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.&lt;br /&gt;
&lt;br /&gt;
==Client==&lt;br /&gt;
===General===&lt;br /&gt;
* The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a '''Video''' tab which allows you to set the resolution&lt;br /&gt;
&lt;br /&gt;
===Console commands===&lt;br /&gt;
The console commands now use [[Console Commands and CVars|CVARS]].  This essentially means that the standard commands that are built into MTA now exhibit a different syntax.&lt;br /&gt;
&lt;br /&gt;
Whereas in dp2 you may have done:&lt;br /&gt;
 chat_font 2&lt;br /&gt;
&lt;br /&gt;
In 1.0 you would perform a command that mimics C:&lt;br /&gt;
 chat_font = 2&lt;br /&gt;
&lt;br /&gt;
This applies to all inbuilt commands, except for those that may interface with a server (e.g. ''nick'' or ''me'').&lt;br /&gt;
&lt;br /&gt;
===Chatbox===&lt;br /&gt;
The chatbox has had minor changes in 1.0.  In particular, the text now displays an animation when a new line appears, and the ''Page Up'' and ''Page Down'' keys can be used to scroll the chat.&lt;br /&gt;
&lt;br /&gt;
===Host Game===&lt;br /&gt;
This useful addition allows you to quickly start a game without having to run the MTA Server executable.  It is fully functional and based upon the local.conf.&lt;br /&gt;
&lt;br /&gt;
===Joypad support===&lt;br /&gt;
From 1.0, users can use their joypad/controller ingame.  The keys for your joypad can be configured in the '''Binds''' tab, and advanced configuration such as analog keys can be configured in the '''Controls''' tab.&lt;br /&gt;
&lt;br /&gt;
===Map Editor===&lt;br /&gt;
The Map Editor is now functional as of 1.0.  This is assuming you have the map editor installed.  Please see the [[Editor|Editor manual]] for details.&lt;br /&gt;
&lt;br /&gt;
==Server==&lt;br /&gt;
The interface of the server is largely the same as dp2.x, there have, however been various tweaks&lt;br /&gt;
&lt;br /&gt;
===Server config===&lt;br /&gt;
If upgrading from dp2, you should also add any missing variables to your config:&lt;br /&gt;
* '''fpslimit''': This sets the FPS limit on your server.&lt;br /&gt;
* '''donotbroadcastlan''': This sets whether the server can broadcast to Local Area Network servers&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
The commands of the server console are mostly the same, with the exception of:&lt;br /&gt;
* '''refresh''' - Previously the refresh command would refresh ''all'' resources.  Now it only detects new resources that are in your resources directory&lt;br /&gt;
* '''refreshall''' - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.&lt;br /&gt;
* '''loadmodule''' - Modules can now be loaded using this command without them being set in the server config.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Many of the default resources have been changed or updated, and new ones have also been added.&lt;br /&gt;
&lt;br /&gt;
* Resource '''realdriveby''' has been added.  This will facilitate the driveby mode in vehicles&lt;br /&gt;
* Resource '''freeroam''' has been added. (This resource is also needed when you want to run the test mode in the map editor)&lt;br /&gt;
* Resource '''parachute''' has been added, which facilitates parachutes from single player.&lt;br /&gt;
* Resource '''race''' has undergone many changes and is now much more stable and functional.&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
Much of the scripting interface has changed in 1.0.  Almost all resources will need updating in order to function, although the extent of this varies between scripts.&lt;br /&gt;
&lt;br /&gt;
===Camera functions===&lt;br /&gt;
The [[Server_Scripting_Functions#Camera_functions|Camera Functions]] have been completely overhauled.&lt;br /&gt;
===Player functions===&lt;br /&gt;
Some [[Server_Scripting_Functions#Player_functions|Player functions]] have been renamed to [[Server_Scripting_Functions#Ped_functions|Ped functions]].&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RotateCameraUp&amp;diff=19919</id>
		<title>RotateCameraUp</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RotateCameraUp&amp;diff=19919"/>
		<updated>2009-06-14T12:06:41Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added the deprecated template only&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{deprecated}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RotateCameraRight&amp;diff=19918</id>
		<title>RotateCameraRight</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RotateCameraRight&amp;diff=19918"/>
		<updated>2009-06-14T12:06:07Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added the deprecated template only&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{deprecated}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetCameraFixedModeTarget&amp;diff=19917</id>
		<title>GetCameraFixedModeTarget</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetCameraFixedModeTarget&amp;diff=19917"/>
		<updated>2009-06-14T12:05:25Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added the deprecated template only&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{Deprecated}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19744</id>
		<title>Changes in 1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Changes_in_1.0&amp;diff=19744"/>
		<updated>2009-05-26T20:23:25Z</updated>

		<summary type="html">&lt;p&gt;Winky: Note about player functions and ped functions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page outlines the major and fundamental changes when upgrading from dp2.x to 1.0.&lt;br /&gt;
&lt;br /&gt;
==Client==&lt;br /&gt;
===General===&lt;br /&gt;
* The settings menu is now much more advanced and allows for more in depth changes, such as the addition of a '''Video''' tab which allows you to set the resolution&lt;br /&gt;
&lt;br /&gt;
===Console commands===&lt;br /&gt;
The console commands now use [[Console Commands and CVars|CVARS]].  This essentially means that the standard commands that are built into MTA now exhibit a different syntax.&lt;br /&gt;
&lt;br /&gt;
Whereas in dp2 you may have done:&lt;br /&gt;
 chat_font 2&lt;br /&gt;
&lt;br /&gt;
In 1.0 you would perform a command that mimics C:&lt;br /&gt;
 chat_font = 2&lt;br /&gt;
&lt;br /&gt;
This applies to all inbuilt commands, except for those that may interface with a server (e.g. ''nick'' or ''me'').&lt;br /&gt;
&lt;br /&gt;
===Chatbox===&lt;br /&gt;
The chatbox has had minor changes in 1.0.  In particular, the text now displays an animation when a new line appears, and the ''Page Up'' and ''Page Down'' keys can be used to scroll the chat.&lt;br /&gt;
&lt;br /&gt;
===Host Game===&lt;br /&gt;
This useful addition allows you to quickly start a game without having to run the MTA Server executable.  It is fully functional and based upon the local.conf.&lt;br /&gt;
&lt;br /&gt;
===Joypad support===&lt;br /&gt;
From 1.0, users can use their joypad/controller ingame.  The keys for your joypad can be configured in the '''Binds''' tab, and advanced configuration such as analog keys can be configured in the '''Controls''' tab.&lt;br /&gt;
&lt;br /&gt;
===Map Editor===&lt;br /&gt;
The Map Editor is now functional as of 1.0.  This is assuming you have the map editor installed.  Please see the [[Editor|Editor manual]] for details.&lt;br /&gt;
&lt;br /&gt;
==Server==&lt;br /&gt;
The interface of the server is largely the same as dp2.x, there have, however been various tweaks&lt;br /&gt;
&lt;br /&gt;
===Server config===&lt;br /&gt;
If upgrading from dp2, you should also add any missing variables to your config:&lt;br /&gt;
* '''fpslimit''': This sets the FPS limit on your server.&lt;br /&gt;
* '''donotbroadcastlan''': This sets whether the server can broadcast to Local Area Network servers&lt;br /&gt;
&lt;br /&gt;
===Commands===&lt;br /&gt;
The commands of the server console are mostly the same, with the exception of:&lt;br /&gt;
* '''refresh''' - Previously the refresh command would refresh ''all'' resources.  Now it only detects new resources that are in your resources directory&lt;br /&gt;
* '''refreshall''' - This new command mimics the previous functioning of refresh, and refreshes all resources - even those which are loaded already.&lt;br /&gt;
* '''loadmodule''' - Modules can now be loaded using this command without them being set in the server config.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Many of the default resources have been changed or updated, and new ones have also been added.&lt;br /&gt;
&lt;br /&gt;
* Resource '''realdriveby''' has been added.  This will facilitate the driveby mode in vehicles&lt;br /&gt;
* Resource '''freeroam''' has been added.&lt;br /&gt;
* Resource '''parachute''' has been added, which facilitates parachutes from single player.&lt;br /&gt;
* Resource '''race''' has undergone many changes and is now much more stable and functional.&lt;br /&gt;
&lt;br /&gt;
==Scripting==&lt;br /&gt;
Much of the scripting interface has changed in 1.0.  Almost all resources will need updating in order to function, although the extent of this varies between scripts.&lt;br /&gt;
&lt;br /&gt;
===Camera functions===&lt;br /&gt;
The camera functions have been completely overhauled.  Scripters using the camera functions&lt;br /&gt;
&lt;br /&gt;
===Player functions===&lt;br /&gt;
Some [[Server_Scripting_Functions#Player_functions|Player functions]] have been renamed to [[Server_Scripting_Functions#Ped_functions|Ped functions]].&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnResourcePreStart&amp;diff=19340</id>
		<title>OnResourcePreStart</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnResourcePreStart&amp;diff=19340"/>
		<updated>2009-04-26T17:56:01Z</updated>

		<summary type="html">&lt;p&gt;Winky: Started with onResourcePreStart, format? (not in the source found)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server event}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This event is triggered before a resource is loaded.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
==Cancel effect==&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Resource events}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Incomplete]]&lt;br /&gt;
[[Category: Needs Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnVehicleStartEnter&amp;diff=19242</id>
		<title>OnVehicleStartEnter</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnVehicleStartEnter&amp;diff=19242"/>
		<updated>2009-04-24T14:28:20Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added before 1.0 template and from 1.0 template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a player starts to enter a vehicle. This event can be used to cancel entry, if necessary.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
{{Deprecated_feature|3|1.0|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
player enteringPlayer, int seat, player jacked&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
}}&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
player enteringPlayer, int seat, player jacked, int door&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
*'''enteringPlayer''': A player element representing the player who is starting to enter a vehicle&lt;br /&gt;
*'''seat''': An integer representing the seat in which the player is entering&lt;br /&gt;
*'''jacked''': A player element representing who is going to be jacked&lt;br /&gt;
*{{New feature|3|1.0|'''door''': An integer of which door the player used (0-3). 0 is driver side door, 1 is front passenger, 2 is back right, 3 is back left.}}&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[vehicle]] in which a player began to enter.&lt;br /&gt;
&lt;br /&gt;
===Canceling===&lt;br /&gt;
If this event is [[Event system #Canceling|canceled]], the player will not enter the vehicle.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example blocks a player out of a police vehicle if he is not a policeman.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
policeVehicles = { [598]=true,[596]=true,[597]=true,[599]=true }&lt;br /&gt;
policeSkins = { [280]=true,[281]=true,[282]=true,[283]=true,[284]=true,[285]=true,[286]=true }&lt;br /&gt;
&lt;br /&gt;
function enterVehicle ( player, seat, jacked ) --when a player enters a vehicle&lt;br /&gt;
    if ( policeVehicles[getVehicleID ( source )] ) and ( not policeSkins[getPlayerSkin ( player )] ) then --if the vehicle is one of 4 police cars, and the skin is not a police skin&lt;br /&gt;
        cancelEvent()&lt;br /&gt;
        outputChatBox ( &amp;quot;Only policeman can enter police cars!&amp;quot;, player ) --and tell the player why&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onVehicleStartEnter&amp;quot;, getRootElement(), enterVehicle ) --add an event handler for onVehicleStartEnter&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Vehicle events}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Account&amp;diff=19203</id>
		<title>Account</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Account&amp;diff=19203"/>
		<updated>2009-04-20T18:19:05Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added 1.0 function and added feature templates&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[account]] class represents a [[client]]'s server account. You can get the [[account]] object associated to any client using:{{Deprecated_feature|3|1.0|[[getClientAccount]]}}&lt;br /&gt;
{{New feature|3|1.0|[[getAccountPlayer]]}}&lt;br /&gt;
&lt;br /&gt;
Accounts are unique to each client and can be used to store information that is persistent across map changes and user sessions. Clients that join without an account are given a temporary 'guest' account. This can store information like any other account, but isn't saved across sessions.&lt;br /&gt;
&lt;br /&gt;
When a user logs in or out, the account object assigned to them will change. As such, you must not assume that the account attached to a client remains constant during their session.&lt;br /&gt;
&lt;br /&gt;
==Related scripting functions==&lt;br /&gt;
===Server===&lt;br /&gt;
{{Account functions}}&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[it:Account]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Known_Issues_-_FAQ&amp;diff=19164</id>
		<title>Known Issues - FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Known_Issues_-_FAQ&amp;diff=19164"/>
		<updated>2009-04-16T17:57:32Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Post here your proposed Q&amp;amp;A, regarding the known problems with MTA:SA DM and their solutions, especially problems we're encountering now, that might be also encountered by users in the final release. You're also welcome to edit them grammar/style wise.&lt;br /&gt;
&lt;br /&gt;
== Client ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
==== Does MTASA:DM work with v1.01 or v2.00 of GTA San Andreas? ====&lt;br /&gt;
No. Please see [http://forum.mtavc.com/viewtopic.php?t=15151 this forum topic] for instructions on patching the exe&lt;br /&gt;
&lt;br /&gt;
==== The game says it cannot locate the map editor. ====&lt;br /&gt;
Map editor for MTA: Deathmatch has not yet been released. In the meantime you may use MTA: Race map editor for creating maps (and then convert those to MTA:DM syntax using various converters available).&lt;br /&gt;
&lt;br /&gt;
==== Initial black screen/hanging GTA splash screens ====&lt;br /&gt;
* '''MTA shows a permanent black screen or hanging GTA splash screens.'''&lt;br /&gt;
&lt;br /&gt;
It may be necessary that during/after the logo splash screens in Grand Theft Auto you have to give some input in order to skip the videos correctly. Try to click your left-mouse button a few times, or tapping a few keys.&lt;br /&gt;
&lt;br /&gt;
* '''MTA shows a permanent black screen after the GTA splash screens (possibly with text in the bottom right corner).'''&lt;br /&gt;
&lt;br /&gt;
This can be related to a lack of support for DirectX or video card features, on your system, which are needed to run the dynamically rendered menu. This dynamic menu is enabled by default. You can disable it by opening your [[coreconfig.xml]] configuration file located in the ''GTA San Andreas\MTA'' directory, and changing the value of ''menu_options'' to ''248''.&lt;br /&gt;
&lt;br /&gt;
==== Halt after MTA splash screen ====&lt;br /&gt;
* '''Nothing happens after the 'Stop playing with yourself' splash screen'''&lt;br /&gt;
&lt;br /&gt;
If you use nVidia GeForce, try turning off nView Desktop Manager before starting MTA.&lt;br /&gt;
&lt;br /&gt;
Also try deleting GTA San Andreas settings file (&amp;quot;gta_sa.set&amp;quot;) in &amp;quot;Documents\GTA San Andreas User Files&amp;quot; folder&lt;br /&gt;
&lt;br /&gt;
==== Crash after MTA splash screen ====&lt;br /&gt;
* '''MTA crashes after the 'Stop playing with yourself' logo. Both single player and the MTA: Race ran fine before.'''&lt;br /&gt;
&lt;br /&gt;
Try downloading the latest DirectX Runtime files from [http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&amp;amp;DisplayLang=en Microsoft]. Also check in Task Manager, if gta_sa.exe process isn't already running.&lt;br /&gt;
&lt;br /&gt;
If you run at any substandard resolutions (e.g. 960x720), try to change your resolution to a commonly supported one (e.g. 640×480, 800×600, 1024×768, 1152×864, 1280×1024) by launching Grand Theft Auto: San Andreas in normal mode, setting the new resolution and exiting.&lt;br /&gt;
&lt;br /&gt;
==== Assertion in CMainMenu.cpp line 106 upon launching MTASA  ====&lt;br /&gt;
* '''I'm getting an assertion in CMainMenu.cpp (line 106) after I have launched MTASA. I'm able to ignore it, but then game crashes after I try to connect to a server.'''&lt;br /&gt;
&lt;br /&gt;
This is likely caused by GTASA or MTASA being installed in a path that contains non-ASCII characters (eg. Cyrillic, Polish, Japanese) in it.  &lt;br /&gt;
&lt;br /&gt;
To resolve this, you need to uninstall MTASA and GTASA, then install them in such paths that don't contain such characters.&lt;br /&gt;
&lt;br /&gt;
==== Controls not working ====&lt;br /&gt;
* '''My controls don't seem to work as they should.'''&lt;br /&gt;
&lt;br /&gt;
Try using the 'copygtacontrols' command in the console.&lt;br /&gt;
&lt;br /&gt;
==== Incorrect models ====&lt;br /&gt;
* '''Woman model's breasts look awkward ingame / I'm seeing odd, spider-like shaped player models.'''&lt;br /&gt;
&lt;br /&gt;
This is caused by the way GTA handles player stats. To fix this, be sure to set both fat and muscles player stats to 0, when you're changing player skin.&lt;br /&gt;
&lt;br /&gt;
==== Incorrect drive-by functionality ====&lt;br /&gt;
* '''Drivebys arent working as they should'''&lt;br /&gt;
&lt;br /&gt;
Drivebys are handled by script, and will change depending on the loaded gamemode.&lt;br /&gt;
&lt;br /&gt;
==== Unsaved settings ====&lt;br /&gt;
* '''My MTA setting(s) didn't get saved (...) I crashed.'''&lt;br /&gt;
&lt;br /&gt;
First, configure the MTA the way you want to, then exit the game and launch it again. Settings should get saved. Alternatively, try removing the coreconfig.xml file, then configure it and quit the game.&lt;br /&gt;
&lt;br /&gt;
==== Gamepad support ====&lt;br /&gt;
* '''MTA doesnt recognise my gamepad'''&lt;br /&gt;
&lt;br /&gt;
This is a known issue - MTA's keybinds system does not support direct input.  As an alternative, [http://xpadder.com/ XPadder] can be used.  This emulates joypad buttons as keyboard/mouse so that it can be used in MTA.  Please refer to [http://forum.mtasa.com/viewtopic.php?f=87&amp;amp;t=21167 this forum topic] for a brief guide on how to use XPadder.&lt;br /&gt;
&lt;br /&gt;
==== Free mouselook not working properly ====&lt;br /&gt;
* '''MTA doesnt recognise my mouse'''&lt;br /&gt;
&lt;br /&gt;
Some people got problems with their mouse in MTA. They can use it in the menu, connect to a server, but they can't use the mouse for free look.&lt;br /&gt;
This problem can be solved by entering a server, click your Win/Windows key at your keyboard once, and then click your mouse.&lt;br /&gt;
If that doesn't work try starting GTA in Singleplayer, go to options &amp;gt; controler setup and set &amp;quot;Configuration&amp;quot; to &amp;quot;Mouse + Keys&amp;quot; instead of &amp;quot;Joypad&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Sky flickering ====&lt;br /&gt;
* '''My screen/sky flickers when weather or sky effects are enabled.&lt;br /&gt;
&lt;br /&gt;
MTA:SA DM uses a new text rendering system from race, which is much more efficient in terms of FPS.  However, this can cause conflicts within the game, particularly with ATI based cards.  To fix this, bring up the console with F8, and type the command '''ceguitext 1'''.  This reverts the rendering method to that of Race.  All glitches should no longer happen, at the cost of lower FPS.&lt;br /&gt;
&lt;br /&gt;
==== Server browser not working ====&lt;br /&gt;
* '''The in-game server browser shows &amp;quot;Loading&amp;quot; but does not come up with any servers'''&lt;br /&gt;
&lt;br /&gt;
Depending on the type and status of the internet connection you are using, it can take up to a few seconds for the server browser to retrieve all the servers. Please wait a little longer for the results to appear.&lt;br /&gt;
&lt;br /&gt;
==== Invalid serial number ====&lt;br /&gt;
* '''I am getting an 'Invalid serial number' error when trying to launch or play the game'''&lt;br /&gt;
&lt;br /&gt;
You are running an outdated version of Multi Theft Auto. Head over to the [http://www.mtasa.com/deathmatch.html download page] and download the latest version of Multi Theft Auto.&lt;br /&gt;
&lt;br /&gt;
==== 'Network module could not be located' ====&lt;br /&gt;
* '''I am getting 'Network module could not be located' error message upon launching MTA:SA DM&lt;br /&gt;
&lt;br /&gt;
Copy the file 'net.dll' from your GTA:SA/mta directory into your GTA:SA directory, overwriting existing files.&lt;br /&gt;
&lt;br /&gt;
==== 'Network module not compatible!' on MTASA launch ====&lt;br /&gt;
* '''I am getting 'Network module not compatible!' error message upon launching MTA:SA DM&lt;br /&gt;
&lt;br /&gt;
This could mean that your MTASA install is incomplete or broken. Reinstall it.&lt;br /&gt;
&lt;br /&gt;
==== 'No such mod installed (deathmatch)' ====&lt;br /&gt;
* '''I am getting a 'No such mod installed (deathmatch)' error message when trying to connect to any server&lt;br /&gt;
&lt;br /&gt;
'''Option 1:''' Simply re-install MTA. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Option 2:''' Run both gta_sa.exe and Multi Theft Auto.exe with administrator privileges.&lt;br /&gt;
&lt;br /&gt;
==== D3dx9_**.dll is not found ====&lt;br /&gt;
* '''When I start Multi Theft Auto: San Andreas I am getting an error D3dx9_**.dll (** = a number) cannot be found.&lt;br /&gt;
&lt;br /&gt;
This means that DirectX 9 is not installed or not up to date.&lt;br /&gt;
To install/update DirectX download the [http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3 DirectX End-User Runtime Web Installer] from the Microsoft download site.&lt;br /&gt;
&lt;br /&gt;
=== Windows Vista®-related ===&lt;br /&gt;
&lt;br /&gt;
==== Crash on launch ====&lt;br /&gt;
* '''I've successfully upgraded from MTA Race to MTASA DM on Vista, but it seems to crash on launch.&lt;br /&gt;
&lt;br /&gt;
'''Option 1''' Go to your Program Files\MTA San Andreas\mods\race directory, and rename client.dll to something else. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Option 2''' Go to your Grand Theft Auto: San Andreas directory (usually Program Files\Rockstar Games\GTA San Andreas&amp;quot;), navigate to the MTA directory, then enter the &amp;quot;data&amp;quot; directory and remove the menu.mkv file. This will start Multi Theft Auto: San Andreas without main menu video rendering.&lt;br /&gt;
&lt;br /&gt;
==== Crash on connect ====&lt;br /&gt;
* '''I seem to crash whenever I connect to a server just before I go in-game on Vista'''&lt;br /&gt;
&lt;br /&gt;
This seems to be an issue with the Microsoft DirectX April 2006 SDK Redistributable DLL file (d3dx9_30.dll) when running in compatibility mode. Please make sure that compatibility mode is competely turned off for  '''both''' your GTA_SA.exe and Multi Theft Auto.exe executables.&lt;br /&gt;
&lt;br /&gt;
==== Invalid or disabled serial error ====&lt;br /&gt;
* '''MTASA DM installer complains about wrong serial provided. I'm running it for the first time.&lt;br /&gt;
&lt;br /&gt;
You need to run the installer with Administrator privileges. To do so, right click on the installer executable, choose 'Properties', go into 'Compatibility' tab and tick the check box on the last field.&lt;br /&gt;
&lt;br /&gt;
Some have found that setting compatibility to Windows XP/2000 have fixed the problem.&lt;br /&gt;
&lt;br /&gt;
If User Account Control is disabled, you might need to enable it and run the installer with admin privileges (like said above) in order to install MTA:SA DM.&lt;br /&gt;
&lt;br /&gt;
*'''I am getting 'invalid serial' when I try to connect to a server'''&lt;br /&gt;
After some research we have found that in most cases this problem occurs if registry data has not been set for some reason. To fix this problem, take the following steps:&lt;br /&gt;
&lt;br /&gt;
Open regedit (start &amp;gt; run &amp;gt; regedit)&amp;lt;br&amp;gt;&lt;br /&gt;
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Multi Theft Auto: San Andreas&amp;lt;br&amp;gt;&lt;br /&gt;
Create a new string key called Username and fill there the username you have on mtabeta.com&amp;lt;br&amp;gt;&lt;br /&gt;
Create one more string key called Serial and paste there the serial from mtabeta.com&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have no serial at http://community.mtasa.com (mtabeta.com) to complete the last step, register on our forums and request one [http://forum.mtasa.com/viewtopic.php?f=89&amp;amp;t=21435&amp;amp;p=269057 here]&lt;br /&gt;
&lt;br /&gt;
*'''I am getting 'disabled serial' when I try to connect to a server'''&lt;br /&gt;
If you receive this message, your serial has been banned (most likely for cheating). There is nothing you can do to fix this. Registering a new account does not unban you.&lt;br /&gt;
&lt;br /&gt;
==== Clock manipulation error ====&lt;br /&gt;
* '''I am getting 'Clock manipulation detected!' error message upon launching MTA:SA DM&lt;br /&gt;
&lt;br /&gt;
Further info coming soon.&lt;br /&gt;
&lt;br /&gt;
==== Halt on launch ====&lt;br /&gt;
* '''When I launch MTA:SA DM, nothing happens (GTA_SA.exe is running but not loading up)&lt;br /&gt;
&lt;br /&gt;
Run MTA:SA DM with Administrator privileges. To do this, right click on the installer executable, choose 'Properties', go into 'Compatibility' tab and tick the check box on the last field and try again.&lt;br /&gt;
&lt;br /&gt;
==== General GTA problems ====&lt;br /&gt;
* '''I have unexplainable GTA problems or crashes'''&lt;br /&gt;
&lt;br /&gt;
Make sure your computer as well as your GTA install meet the [[Deathmatch_Client_Manual#System_requirements|minimum requirements]] and that you are not running in any 98/2000/XP/2003 compatibility modes.&lt;br /&gt;
&lt;br /&gt;
Also try the solutions from these pages:&lt;br /&gt;
* http://www.gtaforums.com/index.php?showtopic=273549&amp;amp;view=findpost&amp;amp;p=4537502&lt;br /&gt;
* http://pullmonkey.com/2007/4/30/how-i-got-gta-san-andreas-to-work-with-a-crappy-os-vista&lt;br /&gt;
&lt;br /&gt;
== Server ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
==== Fatal error 3 ====&lt;br /&gt;
* '''I'm getting ''Fatal Error 3'' whenever I connect to my server'''&lt;br /&gt;
&lt;br /&gt;
This error happens when the server you are trying to connect to is unable to provide you the required downloads, because it does not have http downloading enabled. Be sure to set the '''httpdownload''' configuration tag in your configuration to '''1'''.&lt;br /&gt;
==== Download error 9: Error downloading requested files ====&lt;br /&gt;
* '''I'm getting ''Download Error 9: Error downloading requested files'' whenever I connect to my server'''&lt;br /&gt;
&lt;br /&gt;
This error happens when the server you are trying to connect to is unable to provide you with a valid link. This results in a 404 (Not found) HTTP error and an error at your end.&lt;br /&gt;
&lt;br /&gt;
* If you are running the built-in server ('''httpserver''' is set to '''1''' and '''httpdownloadurl''' is empty), make sure that your HTTP server is accessible (you can try to access it by using a browser) for everyone.&lt;br /&gt;
&lt;br /&gt;
* If you have configured an external web server ('''httpdownloadurl''' is set to your custom URL), make sure that your HTTP is accessible and make sure you have read the [[Deathmatch_Server_Manual#Configuring_an_external_web_server | Configuring an external web server]] guide.&lt;br /&gt;
==== Download error 28 ====&lt;br /&gt;
Try closing anti-virus or firewall applications. If it then works, try adding an exception to your firewall to allow your http port through.&lt;br /&gt;
&lt;br /&gt;
=== Windows-related ===&lt;br /&gt;
No known reported issues in the version {{Current Version|full}}.&lt;br /&gt;
&lt;br /&gt;
=== Linux-related ===&lt;br /&gt;
====Default nohup creates infinitely big nohup.out====&lt;br /&gt;
&lt;br /&gt;
Temporary fix, disable the nohup file: 'nohup ./mta_server &amp;gt; /dev/null &amp;amp;'&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BanSerial&amp;diff=19116</id>
		<title>BanSerial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BanSerial&amp;diff=19116"/>
		<updated>2009-04-13T07:12:10Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
{{Deprecated}}&lt;br /&gt;
This function will ban the specified [[serial]] number from the server.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool banSerial ( string theSerial )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theSerial:''' The serial to ban from this server&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the serial was banned succesfully, ''false'' if invalid arguments are specified.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example lets a client (console or player) ban a serial if he has ACL rights.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Add the &amp;quot;banserial&amp;quot; command handler&lt;br /&gt;
function banSerialCommand ( theClient, commandName, bannedSerial )&lt;br /&gt;
&lt;br /&gt;
	-- Give the player a nice error if he doesn't have rights&lt;br /&gt;
	if ( hasObjectPermissionTo ( theClient, &amp;quot;function.banSerial&amp;quot; ) ) &lt;br /&gt;
&lt;br /&gt;
		--Ban the serial&lt;br /&gt;
		banSerial ( bannedSerial )&lt;br /&gt;
		outputChatBox ( &amp;quot;banserial: Serial &amp;quot; .. bannedSerial .. &amp;quot; successfully banned&amp;quot;, theClient )&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox ( &amp;quot;banserial: You don't have enough permissions&amp;quot;, theClient )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;banserial&amp;quot;, banSerialCommand )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Admin_functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetBanSerial&amp;diff=19115</id>
		<title>GetBanSerial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetBanSerial&amp;diff=19115"/>
		<updated>2009-04-13T07:11:21Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function will return the [[serial]] of the specified [[ban]] pointer.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string getBanSerial ( ban theBan )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theBan:''' The [[ban]] you want to retrieve the serial of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a ''string'' of the serial if everything was successful, ''false'' if invalid arguments are specified or if there was no serial specified for the [[ban]].&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Admin functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=KillPlayer&amp;diff=19114</id>
		<title>KillPlayer</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=KillPlayer&amp;diff=19114"/>
		<updated>2009-04-13T07:09:06Z</updated>

		<summary type="html">&lt;p&gt;Winky: Removed 'DP3' things&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Deprecated}}&lt;br /&gt;
This function kills the specified player.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool killPlayer ( player thePlayer, [ player theKiller = nil, int weapon=255, int bodyPart=255 ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''thePlayer:''' The [[player]] to kill&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
* '''theKiller:''' The player responsible for the kill&lt;br /&gt;
* '''weapon:''' The ID of the weapon that should appear to have killed the player (doesn't affect how they die)&lt;br /&gt;
* '''bodyPart:''' The ID of the body part that should appear to have been hit by the weapon (doesn't affect how they die)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the player was killed, ''false'' if the player specified could not be killed or is invalid.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
'''Example 1:''' This simple example adds a '''kill''' command to commit suicide.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function commitSuicide(sourcePlayer)&lt;br /&gt;
	-- kill the player and make him responsible for it&lt;br /&gt;
	killPlayer(sourcePlayer, sourcePlayer)&lt;br /&gt;
end&lt;br /&gt;
-- attach our handler to the &amp;quot;kill&amp;quot; command&lt;br /&gt;
addCommandHandler(&amp;quot;kill&amp;quot;, commitSuicide)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Example 2:''' This example enables 1 hit kills if a player is shot in the head.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function headshotKill ( attacker, attackerweapon, bodypart, loss )&lt;br /&gt;
	if bodypart == 9 then --if the bodypart is the head&lt;br /&gt;
		--kill the player, emulating the correct killer, weapon and bodypart.&lt;br /&gt;
		killPlayer ( source, attacker, attackerweapon, bodypart )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerDamage&amp;quot;, getRootElement(), headshotKill )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XML&amp;diff=19104</id>
		<title>XML</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XML&amp;diff=19104"/>
		<updated>2009-04-12T11:00:30Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: XML stands for ''Extensible Markup Language'', XML can be used in MTA to read or write data.  MTA's map files are also in XML format.  Example of XML: &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[xml,n] &amp;lt;meta&amp;gt;     &amp;lt;info author...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;XML stands for ''Extensible Markup Language'', XML can be used in MTA to read or write data. &lt;br /&gt;
MTA's map files are also in XML format.&lt;br /&gt;
&lt;br /&gt;
Example of XML:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[xml,n]&lt;br /&gt;
&amp;lt;meta&amp;gt;&lt;br /&gt;
    &amp;lt;info author=&amp;quot;Slothman&amp;quot; type=&amp;quot;gamemode&amp;quot; name=&amp;quot;Stealth&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;config src=&amp;quot;help.xml&amp;quot; type=&amp;quot;client&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;script src=&amp;quot;stealthmain_server.lua&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;noiseblip.lua&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;mission_timer.lua&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;gadgets_server.lua&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;gadgets_client.lua&amp;quot; type=&amp;quot;client&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;stealthmain_client.lua&amp;quot; type=&amp;quot;client&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;noisebar.lua&amp;quot; type=&amp;quot;client&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;script src=&amp;quot;spycam.lua&amp;quot; type=&amp;quot;client&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;file src=&amp;quot;riot_shield.txd&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;riot_shield.dff&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;riot_shield.col&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;armor.png&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;camera.png&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;cloak.png&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;goggles.png&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;mine.png&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;radar.png&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;file src=&amp;quot;shield.png&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;include resource=&amp;quot;scoreboard&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;include resource=&amp;quot;killmessages&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;include resource=&amp;quot;maplimits&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/meta&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Related Scripting Functions==&lt;br /&gt;
&lt;br /&gt;
{{XML functions}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Xmlnode]]&lt;br /&gt;
*[[Meta.xml]]&lt;br /&gt;
*[[Resource:Editor/EDF]]&lt;br /&gt;
*[http://forum.multitheftauto.com/viewtopic.php?f=91&amp;amp;t=22247 Meta.xml generator]&lt;br /&gt;
*[http://en.wikipedia.org/wiki/XML XML on Wikipedia]&lt;br /&gt;
*[http://www.w3.org/XML/ W3C XML homepage]&lt;br /&gt;
&lt;br /&gt;
[[Category: Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BanPlayer&amp;diff=18963</id>
		<title>BanPlayer</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BanPlayer&amp;diff=18963"/>
		<updated>2009-04-11T13:05:33Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
This function will ban the specified player by either IP, [[serial]] or username&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Deprecated_feature|3|1.0|&lt;br /&gt;
This function will ban the specified player from the server by IP.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ban banPlayer ( player bannedPlayer, [ bool IP = true, bool Username = false, bool Serial = false, player responsiblePlayer = nil, string reason = nil, int seconds = 0 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Deprecated_feature|3|1.0|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool banPlayer ( player bannedPlayer , [ element responsibleElement, string reason ] )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''bannedPlayer:''' The player that will be banned from the server.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
*'''IP:''' Will player be banned by IP?&lt;br /&gt;
*'''Username:''' Will player be banned by username?&lt;br /&gt;
*'''Serial:''' Will player be banned by serial?&lt;br /&gt;
&lt;br /&gt;
:'''Note:''' to ban by username or serial, ''verifyserials'' must be enabled in the server configuration file.&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
*'''responsibleElement:''' The element that is responsible for banning the player. This can be a player or the root ([[getRootElement]]()).&lt;br /&gt;
*'''reason:''' The reason the player will be banned from the server.&lt;br /&gt;
*'''seconds:''' The amount of seconds the player will be banned from the server for. This can be 0 for an infinite amount of time.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
{{Deprecated_feature|3|1.0|&lt;br /&gt;
Returns ''true'' if the player was banned succesfully, ''false'' if invalid arguments are specified.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
Returns a [[ban]] pointer if banned successfully, or ''false'' if unsuccessful.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example lets a player ban anyone if he has ACL rights.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Add the &amp;quot;ban&amp;quot; command handler&lt;br /&gt;
-- Example with the player&lt;br /&gt;
function banPlayerCommand ( theClient, commandName, bannedName, reason )&lt;br /&gt;
&lt;br /&gt;
	-- Give the player a nice error if he doesn't have rights&lt;br /&gt;
	if ( hasObjectPermissionTo ( theClient, &amp;quot;function.banPlayer&amp;quot; ) ) then&lt;br /&gt;
		--Get player element from the name&lt;br /&gt;
		local bannedPlayer = getPlayerFromNick ( bannedName )&lt;br /&gt;
&lt;br /&gt;
		--Ban the player&lt;br /&gt;
		banPlayer ( bannedPlayer, theClient, reason )&lt;br /&gt;
		outputChatBox ( &amp;quot;ban: &amp;quot; .. bannedName .. &amp;quot; successfully banned&amp;quot;, theClient )&lt;br /&gt;
&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox ( &amp;quot;ban: You don't have enough permissions&amp;quot;, theClient )&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;ban&amp;quot;, banPlayerCommand )&lt;br /&gt;
&lt;br /&gt;
-- Example function with the root element. Here you would pass a player element to the function.&lt;br /&gt;
function banCheater(theCheater)&lt;br /&gt;
	banPlayer(theCheater, getRootElement(), &amp;quot;You are banned because of cheating.&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Admin_functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPlayerSerial&amp;diff=18962</id>
		<title>GetPlayerSerial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPlayerSerial&amp;diff=18962"/>
		<updated>2009-04-11T12:59:31Z</updated>

		<summary type="html">&lt;p&gt;Winky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns the [[serial]] for a specified [[player]].&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string getPlayerSerial ( player thePlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePlayer:''' A [[player]] object referencing the specified player.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns the serial as a ''string'' if it was found, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
The format of the serial has been changed.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example creates a command with which player can check their own serial.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function checkMySerial( thePlayer, command )&lt;br /&gt;
    local theSerial = getPlayerSerial( thePlayer )&lt;br /&gt;
    if theSerial then&lt;br /&gt;
        outputChatBox( &amp;quot;Your serial is: &amp;quot; .. theSerial, thePlayer )&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox( &amp;quot;Sorry, you have no serial. =(&amp;quot;, thePlayer )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler( &amp;quot;serial&amp;quot;, checkMySerial )&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;
{{Serial functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Serial&amp;diff=18961</id>
		<title>Serial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Serial&amp;diff=18961"/>
		<updated>2009-04-11T12:49:54Z</updated>

		<summary type="html">&lt;p&gt;Winky: Typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Community serial page.png|thumb|MTA Community Serial Page]]&lt;br /&gt;
Serials are used by MTA to identify players, serials are bound to your hardware configuration and your [http://community.mtasa.com/ MTA community account].&lt;br /&gt;
Serials can contain numbers and letters, the format:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[n]&lt;br /&gt;
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Server administrators can ban the serial, this is useful for players who have a [http://en.wikipedia.org/wiki/Dynamic_IP dynamic IP].&lt;br /&gt;
&lt;br /&gt;
From MTA 1.0 players can login ingame with the MTA community account.&lt;br /&gt;
&lt;br /&gt;
==Related Scripting Functions==&lt;br /&gt;
{{Serial functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Concepts]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Serial&amp;diff=18960</id>
		<title>Serial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Serial&amp;diff=18960"/>
		<updated>2009-04-11T12:42:29Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: MTA Community Serial Page Serials are used by MTA to identify players, serials are bound to your hardware configuration and your [http://community...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Community serial page.png|thumb|MTA Community Serial Page]]&lt;br /&gt;
Serials are used by MTA to identify players, serials are bound to your hardware configuration and your [http://community.mtasa.com/ MTA community account].&lt;br /&gt;
Serials can contain numbers and letters, the format:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[n]&lt;br /&gt;
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Server administrators can ban the serial, this is usefull for players who have a [http://en.wikipedia.org/wiki/Dynamic_IP dynamic IP].&lt;br /&gt;
&lt;br /&gt;
From MTA 1.0 players can login ingame with the MTA community account.&lt;br /&gt;
&lt;br /&gt;
==Related Scripting Functions==&lt;br /&gt;
{{Serial functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Concepts]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:Community_serial_page.png&amp;diff=18959</id>
		<title>File:Community serial page.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:Community_serial_page.png&amp;diff=18959"/>
		<updated>2009-04-11T12:40:16Z</updated>

		<summary type="html">&lt;p&gt;Winky: MTA Community 'my serials' page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MTA Community 'my serials' page&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=18957</id>
		<title>Math</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=18957"/>
		<updated>2009-04-11T12:01:11Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: Lua has buildin math functions, that you can use in scripts.  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; math.abs    math.acos  math.asin   math.atan  math.atan2  math.ceil math.cos    math.cosh   math.deg    math.exp...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lua has buildin math functions, that you can use in scripts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
math.abs   &lt;br /&gt;
math.acos &lt;br /&gt;
math.asin  &lt;br /&gt;
math.atan &lt;br /&gt;
math.atan2 &lt;br /&gt;
math.ceil&lt;br /&gt;
math.cos   &lt;br /&gt;
math.cosh  &lt;br /&gt;
math.deg   &lt;br /&gt;
math.exp &lt;br /&gt;
math.floor &lt;br /&gt;
math.fmod&lt;br /&gt;
math.frexp &lt;br /&gt;
math.huge  &lt;br /&gt;
math.ldexp &lt;br /&gt;
math.log  &lt;br /&gt;
math.log10 &lt;br /&gt;
math.max&lt;br /&gt;
math.min   &lt;br /&gt;
math.modf  &lt;br /&gt;
math.pi    &lt;br /&gt;
math.pow  &lt;br /&gt;
math.rad   &lt;br /&gt;
math.random&lt;br /&gt;
math.randomseed       &lt;br /&gt;
math.sin   &lt;br /&gt;
math.sinh &lt;br /&gt;
math.sqrt  &lt;br /&gt;
math.tanh&lt;br /&gt;
math.tan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[http://lua-users.org/wiki/MathLibraryTutorial Math examples on the LUA Wiki]&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleDirtLevel&amp;diff=18955</id>
		<title>SetVehicleDirtLevel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleDirtLevel&amp;diff=18955"/>
		<updated>2009-04-11T11:47:51Z</updated>

		<summary type="html">&lt;p&gt;Winky: Added to category 'Needs_Example'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{server client function}}&lt;br /&gt;
This function sets the dirt level on a vehicle.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setVehicleDirtLevel ( vehicle theVehicle, int dirtLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theVehicle:''' The vehicle that you want to set the dirt level from&lt;br /&gt;
*'''dirtLevel:''' The dirt level&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the dirt level was set on the vehicle, ''false'' if the dirt level was not set or if invalid arguments are specified.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ResetVehicleExplosionTime&amp;diff=18954</id>
		<title>ResetVehicleExplosionTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ResetVehicleExplosionTime&amp;diff=18954"/>
		<updated>2009-04-11T11:47:23Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: {{Server function}} __NOTOC__ Resets the vehicle explosion time  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool resetVehicleExplosionTime ( vehicle theVehicle ) &amp;lt;/syntaxhighlight&amp;gt;  ===Required Arguments===  *'''theV...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Resets the vehicle explosion time&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetVehicleExplosionTime ( vehicle theVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theVehicle:''' The vehicle you wish to reset the explosion time from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vehicle explosion time has been reset, ''false'' if it failed to reset the explosion time.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleDirtLevel&amp;diff=18953</id>
		<title>SetVehicleDirtLevel</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleDirtLevel&amp;diff=18953"/>
		<updated>2009-04-11T11:42:25Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: __NOTOC__ {{server client function}} This function sets the dirt level on a vehicle.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool setVehicleDirtLevel ( vehicle theVehicle, int dirtLevel ) &amp;lt;/syntaxhighlight&amp;gt;  ===Re...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{server client function}}&lt;br /&gt;
This function sets the dirt level on a vehicle.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setVehicleDirtLevel ( vehicle theVehicle, int dirtLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theVehicle:''' The vehicle that you want to set the dirt level from&lt;br /&gt;
*'''dirtLevel:''' The dirt level&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the dirt level was set on the vehicle, ''false'' if the dirt level was not set or if invalid arguments are specified.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Vehicle_functions&amp;diff=18952</id>
		<title>Template:Vehicle functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Vehicle_functions&amp;diff=18952"/>
		<updated>2009-04-11T11:41:16Z</updated>

		<summary type="html">&lt;p&gt;Winky: according to the source setVehicleDirtLevel is a serverside and clientside function&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[blowVehicle]]&lt;br /&gt;
*[[createVehicle]]&lt;br /&gt;
*[[fixVehicle]]&lt;br /&gt;
*[[spawnVehicle]]&lt;br /&gt;
*[[respawnVehicle]]&lt;br /&gt;
&lt;br /&gt;
*[[getVehicleColor]] &lt;br /&gt;
{{Deprecated_feature|3|1.0|&lt;br /&gt;
*[[getVehicleID]]&lt;br /&gt;
*[[getVehicleIDFromName]]&lt;br /&gt;
*[[getVehicleNameFromID]]&lt;br /&gt;
}}&lt;br /&gt;
*[[getVehicleMaxPassengers]]&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
*[[getVehicleModelFromName]]&lt;br /&gt;
*[[getVehicleNameFromModel]]&lt;br /&gt;
}}&lt;br /&gt;
*[[getVehicleName]]&lt;br /&gt;
*[[getVehicleOccupant]]&lt;br /&gt;
*[[getVehicleController]]&lt;br /&gt;
*[[getVehicleRotation]]&lt;br /&gt;
*[[getVehicleType]] &lt;br /&gt;
*[[getVehicleTurnVelocity]]&lt;br /&gt;
*[[getVehicleTurretPosition]]&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
*[[getVehicleType]]&lt;br /&gt;
*[[getTrainDirection]]&lt;br /&gt;
*[[getTrainSpeed]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
*[[getVehiclesOfType]]&lt;br /&gt;
*[[getVehicleUpgradeOnSlot]]&lt;br /&gt;
*[[getVehicleUpgrades]]&lt;br /&gt;
*[[getVehicleUpgradeSlotName]]&lt;br /&gt;
*[[getVehicleCompatibleUpgrades]]&lt;br /&gt;
*[[getVehicleDoorState]]&lt;br /&gt;
*[[getVehicleEngineState]]&lt;br /&gt;
*[[getVehicleWheelStates]]&lt;br /&gt;
*[[getVehicleLightState]]&lt;br /&gt;
*[[getVehicleOverrideLights]]&lt;br /&gt;
*[[getVehiclePanelState]]&lt;br /&gt;
*[[getVehicleTowedByVehicle]]&lt;br /&gt;
*[[getVehicleTowingVehicle]]&lt;br /&gt;
*[[getVehiclePaintjob]]&lt;br /&gt;
*[[getVehicleSirensOn]]&lt;br /&gt;
*[[getVehicleLandingGearDown]]&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
*[[isTrainDerailable]]&lt;br /&gt;
*[[isTrainDerailed]]&lt;br /&gt;
}}&lt;br /&gt;
*[[isVehicleFrozen]]&lt;br /&gt;
*[[isVehicleLocked]]&lt;br /&gt;
*[[isVehicleFuelTankExplodable]]&lt;br /&gt;
*[[isVehicleOnGround]]&lt;br /&gt;
&lt;br /&gt;
*[[resetVehicleIdleTime]]&lt;br /&gt;
*[[resetVehicleExplosionTime]]&lt;br /&gt;
&lt;br /&gt;
*[[setVehicleDirtLevel]]&lt;br /&gt;
*[[setVehicleColor]]&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
*[[setTrainDerailable]]&lt;br /&gt;
*[[setTrainDerailed]]&lt;br /&gt;
*[[setTrainDirection]]&lt;br /&gt;
*[[setTrainSpeed]]&lt;br /&gt;
}}&lt;br /&gt;
*[[setVehicleFrozen]]&lt;br /&gt;
*[[setVehicleLocked]]&lt;br /&gt;
{{Deprecated_feature|3|1.0|&lt;br /&gt;
*[[setVehicleModel]]&lt;br /&gt;
}}&lt;br /&gt;
*[[setVehicleDoorsUndamageable]]&lt;br /&gt;
*[[setVehicleRotation]]&lt;br /&gt;
*[[setVehicleTurnVelocity]]&lt;br /&gt;
*[[addVehicleUpgrade]]&lt;br /&gt;
*[[removeVehicleUpgrade]]&lt;br /&gt;
*[[setVehicleDoorState]]&lt;br /&gt;
*[[setVehicleWheelStates]]&lt;br /&gt;
*[[setVehicleLightState]]&lt;br /&gt;
*[[toggleVehicleRespawn]]&lt;br /&gt;
*[[setVehicleOverrideLights]]&lt;br /&gt;
*[[attachTrailerToVehicle]]&lt;br /&gt;
*[[detachTrailerFromVehicle]]&lt;br /&gt;
*[[setVehiclePaintjob]]&lt;br /&gt;
*[[setVehiclePanelState]]&lt;br /&gt;
*[[setVehicleEngineState]]&lt;br /&gt;
*[[setVehicleFuelTankExplodable]]&lt;br /&gt;
*[[setVehicleSirensOn]]&lt;br /&gt;
*[[setVehicleGunsEnabled]]&lt;br /&gt;
*[[setVehicleLandingGearDown]]&lt;br /&gt;
*[[setVehicleDamageProof]]&lt;br /&gt;
*[[setVehicleRespawnPosition]]&lt;br /&gt;
*[[setVehicleRespawnDelay]]&lt;br /&gt;
*[[setVehicleIdleRespawnDelay]]&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
*[[setVehicleTaxiLightOn]]&lt;br /&gt;
*[[isVehicleTaxiLightOn]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Vending&amp;diff=18933</id>
		<title>Vending</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Vending&amp;diff=18933"/>
		<updated>2009-04-08T07:59:07Z</updated>

		<summary type="html">&lt;p&gt;Winky: Fixed a typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;San Andreas Vending machine location list.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:50%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''ID:''' - '''Name:''' || '''X:''' || '''Y:''' || '''Z:''' || '''Rotation Z:'''&lt;br /&gt;
|-&lt;br /&gt;
| '''1302''' - '''vendmachfd''' || -2420.18 || 985.945 || 44.2969 || -90&lt;br /&gt;
|-&lt;br /&gt;
| '''1309''' - '''vendmach''' || -2420.22 || 984.578 || 44.2969 || -90&lt;br /&gt;
|-&lt;br /&gt;
| '''1977''' - '''vendin3''' || 316.875 || -140.352 || 998.586 || 90&lt;br /&gt;
|-&lt;br /&gt;
| '''1775''' - '''CJ_SPRUNK1''' || 2225.2 || -1153.42 || 1025.91 || 90&lt;br /&gt;
|-&lt;br /&gt;
| '''1775''' - '''CJ_SPRUNK1''' || 2155.91 || 1606.77 || 1000.05 || -90&lt;br /&gt;
|-&lt;br /&gt;
| '''1775''' - '''CJ_SPRUNK1''' || 2576.7 || -1284.43 || 1061.09 || 90&lt;br /&gt;
|-&lt;br /&gt;
| '''1775''' - '''CJ_SPRUNK1''' || 2222.2 || 1606.77 || 1000.05 || -90&lt;br /&gt;
|-&lt;br /&gt;
| '''1775''' - '''CJ_SPRUNK1''' || -19.0391 || -57.8359 || 1003.63 || 0&lt;br /&gt;
|-&lt;br /&gt;
| '''1775''' - '''CJ_SPRUNK1''' || -16.1172 || -91.6406 || 1003.63 || 0&lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z&lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z &lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z&lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z&lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z&lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z&lt;br /&gt;
|-&lt;br /&gt;
| '''ID''' - '''Name''' || X || Y || Z || Rotation Z&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''Fine! I'll continue this later &amp;gt;_&amp;lt;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Raw list of data:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
// Vending Machine data extracted from San Andreas IPL Files by MeKorea&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VENDMACHFD&lt;br /&gt;
VENDMACH&lt;br /&gt;
VENDIN3&lt;br /&gt;
CJ_SPRUNK1&lt;br /&gt;
CJ_CANDYVENDOR&lt;br /&gt;
CJ_EXT_CANDY&lt;br /&gt;
CJ_EXT_SPRUNK&lt;br /&gt;
&lt;br /&gt;
ICESCART_PROP&lt;br /&gt;
CHILLIDOGCART&lt;br /&gt;
NOODLECART_PROP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ID:	Name:	 	     X:	          Y:         Z:	       Rotation Z:&lt;br /&gt;
&lt;br /&gt;
1302  vendmachfd  	  -2420.18     985.945    44.2969         -90&lt;br /&gt;
1309  vendmach   	  -2420.22     984.578    44.2969         -90&lt;br /&gt;
1977  vendin3    	   316.875    -140.352    998.586          90&lt;br /&gt;
1775  CJ_SPRUNK1 	   2225.2     -1153.42    1025.91          90&lt;br /&gt;
1775  CJ_SPRUNK1 	   2155.91     1606.77    1000.05         -90&lt;br /&gt;
1775  CJ_SPRUNK1 	   2576.7     -1284.43    1061.09          90&lt;br /&gt;
1775  CJ_SPRUNK1 	   2222.2      1606.77    1000.05         -90&lt;br /&gt;
1775  CJ_SPRUNK1  	  -19.0391    -57.8359    1003.63           0&lt;br /&gt;
1775  CJ_SPRUNK1 	  -16.1172    -91.6406    1003.63           0&lt;br /&gt;
1775  CJ_SPRUNK1 	  -32.4453    -186.695    1003.63           0&lt;br /&gt;
1775  CJ_SPRUNK1 	  -35.7266    -140.227    1003.63           0&lt;br /&gt;
1775  CJ_SPRUNK1 	   495.969    -24.3203    1000.73           0&lt;br /&gt;
1775  CJ_SPRUNK1  	   501.828    -1.42969    1000.73	    0&lt;br /&gt;
1775  CJ_SPRUNK1  	   373.828    -178.141    1000.73	    0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   330.68      178.5      1020.07           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   331.922     178.5      1020.07           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   350.906     206.086    1008.48         -90&lt;br /&gt;
1776  CJ_CANDYVENDOR	   361.562     158.617    1008.48           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   371.594     178.453    1020.07           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   374.891     188.977    1008.48           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   2155.84     1607.88    1000.06         -90&lt;br /&gt;
1776  CJ_CANDYVENDOR	   2202.45     1617.01    1000.06         360&lt;br /&gt;
1776  CJ_CANDYVENDOR	   2209.24     1621.21    1000.06           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   2222.37     1602.64    1000.06         -90&lt;br /&gt;
1776  CJ_CANDYVENDOR	  -36.1484    -57.875     1003.63         360&lt;br /&gt;
1776  CJ_CANDYVENDOR	  -17.5469    -91.7109    1003.63         360&lt;br /&gt;
1776  CJ_CANDYVENDOR	  -16.5312    -140.297    1003.63         360&lt;br /&gt;
1776  CJ_CANDYVENDOR	  -33.875     -186.766    1003.63         360&lt;br /&gt;
1776  CJ_CANDYVENDOR	   500.562    -1.36719    1000.73           0&lt;br /&gt;
1776  CJ_CANDYVENDOR	   379.039    -178.883    1000.73          90&lt;br /&gt;
956   CJ_EXT_CANDY         1634.11    -2237.53    12.8906           0&lt;br /&gt;
956   CJ_EXT_CANDY         2480.86    -1959.27    12.9609         360&lt;br /&gt;
956   CJ_EXT_CANDY         2139.52    -1161.48    23.3594         -90&lt;br /&gt;
956   CJ_EXT_CANDY         2153.23    -1016.15    62.2344         308.132&lt;br /&gt;
956   CJ_EXT_CANDY        -1350.12     493.859    10.5859         -90&lt;br /&gt;
956   CJ_EXT_CANDY        -2229.19     286.414    34.7031           0&lt;br /&gt;
956   CJ_EXT_CANDY         1659.46     1722.86    10.2188           0&lt;br /&gt;
956   CJ_EXT_CANDY         2647.7      1129.66    10.2188           0&lt;br /&gt;
956   CJ_EXT_CANDY         1398.84     2222.61    10.4219           0&lt;br /&gt;
956   CJ_EXT_CANDY        -1455.12     2591.66    55.2344           0&lt;br /&gt;
956   CJ_EXT_CANDY        -76.0312     1227.99    19.125          -90&lt;br /&gt;
956   CJ_EXT_CANDY        -253.742     2599.76    62.2422         -90&lt;br /&gt;
956   CJ_EXT_CANDY         662.43     -552.164    15.7109         360&lt;br /&gt;
955   CJ_EXT_SPRUNK        1789.21    -1369.27    15.1641          90&lt;br /&gt;
955   CJ_EXT_SPRUNK        1729.79    -1943.05    12.9453           0&lt;br /&gt;
955   CJ_EXT_SPRUNK        2060.12    -1897.64    12.9297           0&lt;br /&gt;
955   CJ_EXT_SPRUNK        1928.73    -1772.45    12.9453         -90&lt;br /&gt;
955   CJ_EXT_SPRUNK        2325.98    -1645.13    14.2109           0&lt;br /&gt;
955   CJ_EXT_SPRUNK        2352.18    -1357.16    23.7734         -90&lt;br /&gt;
955   CJ_EXT_SPRUNK        1154.73    -1460.89    15.1562          90&lt;br /&gt;
955   CJ_EXT_SPRUNK       -1350.12     492.289    10.5859         -90&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2118.97    -423.648    34.7266          75.0001&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2118.62    -422.414    34.7266          75.0001&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2097.27    -398.336    34.7266         360&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2092.09    -490.055    34.7266           0&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2063.27    -490.055    34.7266           0&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2005.65    -490.055    34.7266           0&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2034.46    -490.055    34.7266           0&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2068.56    -398.336    34.7266         360&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2039.85    -398.336    34.7266         360&lt;br /&gt;
955   CJ_EXT_SPRUNK       -2011.14    -398.336    34.7266         360&lt;br /&gt;
955   CJ_EXT_SPRUNK       -1980.79     142.664    27.0703          90&lt;br /&gt;
955   CJ_EXT_SPRUNK        2319.99     2532.85    10.2188           0&lt;br /&gt;
955   CJ_EXT_SPRUNK        1520.15     1055.27    10               90&lt;br /&gt;
955   CJ_EXT_SPRUNK       -862.828     1536.61    21.9844           0&lt;br /&gt;
955   CJ_EXT_SPRUNK       -14.7031     1175.36    18.9531           0&lt;br /&gt;
955   CJ_EXT_SPRUNK       -253.742     2597.95    62.2422         -90&lt;br /&gt;
955   CJ_EXT_SPRUNK        201.016    -107.617    0.898438         90&lt;br /&gt;
1340  chillidogcart        1589.7     -1287.27    17.6406          90&lt;br /&gt;
1340  chillidogcart        1000.48    -1849.04    12.7969          70&lt;br /&gt;
1340  chillidogcart        388.859    -2071.66    7.94531          90&lt;br /&gt;
1340  chillidogcart       -2691.68     384.492    4.48438          45&lt;br /&gt;
1340  chillidogcart       -2146.52    -424.773    35.3281         334.564&lt;br /&gt;
1340  chillidogcart       -2094.23    -396.461    35.6562         309.564&lt;br /&gt;
1340  chillidogcart       -2036.32    -396.758    35.6562         279.564&lt;br /&gt;
1340  chillidogcart        2537.82     2137.12    10.8594           0&lt;br /&gt;
1340  chillidogcart        1558.2      979.445    10.9453           0&lt;br /&gt;
1340  chillidogcart        2144.64     1441.93    10.8516          90&lt;br /&gt;
1340  chillidogcart       -799.781     1624.22    27.125           72.0001&lt;br /&gt;
1340  chillidogcart       -197.492     2659.91    62.8203           0&lt;br /&gt;
1340  chillidogcart       -2199.99    -2386.89    30.7188          19.3753&lt;br /&gt;
1341  icescart_prop       -2286.54     147.633    35.3203          315&lt;br /&gt;
1341  icescart_prop       -2384.23    -584.008    132.109          360&lt;br /&gt;
1341  icescart_prop        2538.03     2153.7     10.7344           0&lt;br /&gt;
1341  icescart_prop        2295.71     2250.1     10.7344           0&lt;br /&gt;
1341  icescart_prop        1030.59     1362.59    10.8125         -90&lt;br /&gt;
1341  icescart_prop        2125.13     1442.08    10.7031         -90&lt;br /&gt;
1341  icescart_prop        2175.09     1523.41    10.7344         -90&lt;br /&gt;
1342  noodlecart_prop     -2515.79    -15.6172    25.6328         325&lt;br /&gt;
1342  noodlecart_prop     -2151.84    -435.562    35.2891         314.564&lt;br /&gt;
1342  noodlecart_prop     -2193.77     605.188    35.2109         285&lt;br /&gt;
1342  noodlecart_prop     -2194.02     613.406    35.2109          85.0001&lt;br /&gt;
1342  noodlecart_prop     -2197.59     613.406    35.2109          65&lt;br /&gt;
1342  noodlecart_prop     -2181.48     613.703    35.2109          65&lt;br /&gt;
1342  noodlecart_prop     -2187.15     614.547    35.2109          80.0001&lt;br /&gt;
1342  noodlecart_prop      2536.12     2290.85    10.8594         360 &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPedStat&amp;diff=18902</id>
		<title>SetPedStat</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPedStat&amp;diff=18902"/>
		<updated>2009-04-05T09:57:30Z</updated>

		<summary type="html">&lt;p&gt;Winky: Updated for 1.0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
{{Needs_Checking|&lt;br /&gt;
*Things like infinite run, fire proof CJ, 150 health, 150 armor have special activation flags. They need a way to be triggered on/off.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Deprecated_feature|3|1.0|Note: Weapon stats are currently frozen.}}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function allows you to set the value of a specific statistic for a [[ped]]. '''Visual stats (FAT and BODY_MUSCLE) can only be used on the CJ skin''', they have no effect on other skins.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPedStat ( ped thePed, int stat, float value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePed''': the [[ped]] whose statistic you want to modify.&lt;br /&gt;
*'''stat''': the stat ID. &lt;br /&gt;
{{Stats}}&lt;br /&gt;
&lt;br /&gt;
*'''value''': the new value of the stat (0..999)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the statistic was changed succesfully. Returns ''false'' if an invalid player is specified, if the stat-id/value is out of acceptable range or if the FAT or BODY_MUSCLE stats are used on non-CJ players.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example allows a player to type the command 'beefcake' to change his player's BODY_MUSCLE stat (#23) to the maximum value of 999. This will result in him looking really muscular.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function changeBodyStrength ( player, commandName )&lt;br /&gt;
    -- Output whether the setPlayerStat was successful in changing the BODY_MUSCLE STAT     &lt;br /&gt;
    if setPedStat ( player, 23, 999 ) then&lt;br /&gt;
    	outputChatBox ( &amp;quot;Your player looks really muscular&amp;quot; )&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox ( &amp;quot;Failed to make your player look muscular.&amp;quot; )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;beefcake&amp;quot;, changeBodyStrength )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Ped functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnPlayerWasted&amp;diff=18876</id>
		<title>OnPlayerWasted</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnPlayerWasted&amp;diff=18876"/>
		<updated>2009-04-04T15:55:05Z</updated>

		<summary type="html">&lt;p&gt;Winky: Updated for 1.0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when a player is killed or dies.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
{{New feature|3|1.0|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int totalAmmo, element killer, int killerWeapon, int bodypart [, bool stealth ]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{Deprecated_feature|3|1.0|&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int totalAmmo, element killer, int killerWeapon, int bodypart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
*'''totalAmmo''': an integer representing the total ammo the victim had when he died.&lt;br /&gt;
*'''killer''': an [[element]] representing the player or vehicle who was the killer.  If there was no killer this is ''false''.&lt;br /&gt;
*'''killerWeapon''': an integer representing the [[weapon]] the killer used to kill the player.&lt;br /&gt;
*'''bodypart''': an integer representing the bodypart ID the victim was hit on when he died.&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
*{{New feature|3|1.0|'''stealth''': boolean value representing whether or not this was a stealth kill}}&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[player]] that died or got killed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example prints the killer and bodypart to the chat when a player dies.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- register player_Wasted as a handler for onPlayerWasted&lt;br /&gt;
function player_Wasted ( ammo, attacker, weapon, bodypart )&lt;br /&gt;
	-- if there was an attacker&lt;br /&gt;
	if ( attacker ) then&lt;br /&gt;
		-- we declare our variable outside the following checks&lt;br /&gt;
		local tempString&lt;br /&gt;
		-- if the element that killed him was a player,&lt;br /&gt;
		if ( getElementType ( attacker ) == &amp;quot;player&amp;quot; ) then&lt;br /&gt;
			-- put the attacker, victim and weapon info in the string&lt;br /&gt;
			tempString = getClientName ( attacker )..&amp;quot; killed &amp;quot;..getClientName ( source )..&amp;quot; (&amp;quot;..getWeaponNameFromID ( weapon )..&amp;quot;)&amp;quot;&lt;br /&gt;
		-- else, if it was a vehicle,&lt;br /&gt;
		elseif ( getElementType ( attacker ) == &amp;quot;vehicle&amp;quot; ) then&lt;br /&gt;
			-- we'll get the name from the attacker vehicle's driver&lt;br /&gt;
			local tempString = getClientName ( getVehicleController ( attacker ) )..&amp;quot; killed &amp;quot;..getClientName ( source )..&amp;quot; (&amp;quot;..getWeaponNameFromID ( weapon )..&amp;quot;)&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
		-- if the victim was shot in the head, append a special message&lt;br /&gt;
		if ( bodypart == 9 ) then&lt;br /&gt;
			tempString = tempString..&amp;quot; (HEADSHOT!)&amp;quot;&lt;br /&gt;
		-- else, just append the bodypart name&lt;br /&gt;
		else&lt;br /&gt;
			tempString = tempString..&amp;quot; (&amp;quot;..getBodyPartName ( bodypart )..&amp;quot;)&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
		-- display the message&lt;br /&gt;
		outputChatBox ( tempString )&lt;br /&gt;
	-- if there was no attacker,&lt;br /&gt;
	else&lt;br /&gt;
		-- output a death message without attacker info&lt;br /&gt;
		outputChatBox ( getClientName ( source )..&amp;quot; died. (&amp;quot;..getWeaponNameFromID ( weapon )..&amp;quot;) (&amp;quot;..getBodyPartName ( bodypart )..&amp;quot;)&amp;quot; )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerWasted&amp;quot;, getRootElement(), player_Wasted )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And another example, this will spawn you in the middle of GTA SA world (x=0, y=0, z=3) after 2 seconds of your death&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler( &amp;quot;onPlayerWasted&amp;quot;, getRootElement( ),&lt;br /&gt;
	function( )&lt;br /&gt;
		setTimer( spawnPlayer, 2000, 1, source, 0, 0, 3 ) )&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Player events}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ResetVehicleIdleTime&amp;diff=18447</id>
		<title>ResetVehicleIdleTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ResetVehicleIdleTime&amp;diff=18447"/>
		<updated>2009-02-27T09:07:56Z</updated>

		<summary type="html">&lt;p&gt;Winky: Forgot the 'See Also'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Resets the vehicle idle time&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetVehicleIdleTime ( vehicle theVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theVehicle:''' The vehicle you wish to reset the idle time from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vehicle idle time has been reset, ''false'' if it failed to reset the idle time.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Example here&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetFunctionsBoundToKey&amp;diff=18439</id>
		<title>GetFunctionsBoundToKey</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetFunctionsBoundToKey&amp;diff=18439"/>
		<updated>2009-02-26T09:46:07Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: __NOTOC__ {{Server function}} Gets the functions bound to a key. To bind a function to a key use the bindKey function  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string getFunctionsBoundToKey ( player th...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
Gets the functions bound to a key. To bind a function to a key use the [[bindKey]] function&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string getFunctionsBoundToKey ( player thePlayer, string theKey )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player to get the functions from a key.&lt;br /&gt;
*'''theKey:''' The key you wish to check the functions from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string of the functions bound on that key.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Example here&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Input_functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=UnbanSerial&amp;diff=18438</id>
		<title>UnbanSerial</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=UnbanSerial&amp;diff=18438"/>
		<updated>2009-02-26T09:24:09Z</updated>

		<summary type="html">&lt;p&gt;Winky: New page: __NOTOC__  {{Server function}} {{Deprecated}}  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool unbanSerial ( string serialToUnban )          &amp;lt;/syntaxhighlight&amp;gt;   ==See Also== {{Admin_functions}}&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
{{Deprecated}}&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool unbanSerial ( string serialToUnban )         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Admin_functions}}&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ResetVehicleIdleTime&amp;diff=18437</id>
		<title>ResetVehicleIdleTime</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ResetVehicleIdleTime&amp;diff=18437"/>
		<updated>2009-02-26T09:19:23Z</updated>

		<summary type="html">&lt;p&gt;Winky: I guess this is a serverside function&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Resets the vehicle idle time&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool resetVehicleIdleTime ( vehicle theVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theVehicle:''' The vehicle you wish to reset the idle time from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vehicle idle time has been reset, ''false'' if it failed to reset the idle time.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--Example here&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Vehicle functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;/div&gt;</summary>
		<author><name>Winky</name></author>
	</entry>
</feed>