<?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=Mr.unpredictable</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=Mr.unpredictable"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Mr.unpredictable"/>
	<updated>2026-04-22T23:57:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Scripting_Tips&amp;diff=45253</id>
		<title>Scripting Tips</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Scripting_Tips&amp;diff=45253"/>
		<updated>2015-05-29T09:40:19Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains a variety of things that knowing, make life easier for MTA scripters.&lt;br /&gt;
&lt;br /&gt;
== General Lua ==&lt;br /&gt;
* The ''infinite loop / too long execution error'' which aborts execution can be disabled with ''debug.sethook(nil)''&lt;br /&gt;
* Be careful when looping a table where you intend to delete multiple rows, if 2 of them are in a row the 2nd one will get skipped! You must loop the table backwards (reverse ipairs). For example: ''for i = #table, 1, -1 do''&lt;br /&gt;
* Rather than having if checks inside if checks inside if checks, consider using ''return'' for example ''if (not ready) then return false end''&lt;br /&gt;
* Keep variable &amp;amp; function names short - longer names will make the file larger in size. In large files, this will increase download time.&lt;br /&gt;
* Remember that 'false' boolean has a value - If you want to delete a variable or element/account data, use 'nil' instead - this will reduce memory and disk usage (minuscule optimization, only notable on larger servers)&lt;br /&gt;
&lt;br /&gt;
== MTA Scripting ==&lt;br /&gt;
* Remember that 99% of the time it's a bug in your script, not an MTA bug! Don't report something to the mantis until you're absolutely certain the bug can be reproduced with a small piece of script.&lt;br /&gt;
* As MTA already has so many functions and events virtually everything you want to do is already possible, as long as you're willing to do the work! You'll find better solutions to problems as there are many ways to achieve the same thing as long as you know all the functions and events.&lt;br /&gt;
* If a script is getting too complicated, try putting back-end stuff in another file so the main script calls the functions in the 2nd one. For example rather than having meaningless things like ''vehicleTable[vehicle][7]'' in the main file, put that in a function in the 2nd file and have the main file call a meaningfully named function so rather than seeing a useless ''7'' you'd see something like ''getFuel'' and although this might take longer to set-up you'll save time in the long run as you'll spend less time being confused when you come back to it in a weeks time to debug a problem.&lt;br /&gt;
* Your client side scripts can cause desync if you're not careful, try to keep the psychical world equal with every player. For example if your script creates a client side object make sure your script will create it for everyone nearby, else people will be wondering why a player appears to be constantly floating and falling.&lt;br /&gt;
* Instead of using ''onClientResourceStart'' or ''onResourceStart'' events attached to ''resourceRoot'' like this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function warnPeopleThatThisResourceStarted()&lt;br /&gt;
    outputChatBox(&amp;quot;The resource &amp;quot; .. getResourceName(resource) .. &amp;quot; has just started!&amp;quot;, 0, 255, 0)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot, warnPeopleThatThisResourceStarted)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You can also use this outside of any function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;outputChatBox(&amp;quot;The resource &amp;quot; .. getResourceName(resource) .. &amp;quot; has just started!&amp;quot;, 0, 255, 0)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
And the result will be the same, because Lua executes every instruction in every script file of a resource when it starts.&lt;br /&gt;
* string.dump produces unsigned compiled Lua code which is not allowed for security reasons. The only way to transport code now is by using the source code. e.g.:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;exampleFunction = [===[&lt;br /&gt;
    return param&lt;br /&gt;
]===]&lt;br /&gt;
&lt;br /&gt;
local loadedFunction = loadstring(exampleFunction)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MTA Scripting - Element IDs Being Reused ==&lt;br /&gt;
* If your script is covered in [[isTimer]] and [[isElement]] checks to hide debug warnings from deleted elements not being dereferenced (making the variable nil) you will regret it when that element ID or timer pointer has to be re-used by MTA in a weeks time and your script starts acting strangely and you won't have a clue why. Dereference destroyed elements and disconnected players!&lt;br /&gt;
* Why would MTA reuse it in a weeks time? Everything has a userdata value whether it's a function or an element, there is a limited amount of these available meaning that eventually the server will be forced to use the same userdata value twice, as long as whatever that userdata value was for is no longer valid. This could happen within hours, weeks or even never depending on how many elements are being created and destroyed by your scripts.&lt;br /&gt;
* For example if you have a race server that has 100 objects in every map and the map was changing every 5 minutes your server would go through at least 1200 an hour, 28,800 a day, 201,600 a week in userdata values, it can't keep going up and up though eventually it will have to reuse the same userdata values and as long as you're dereferencing in your scripts, it won't be a problem.&lt;br /&gt;
&lt;br /&gt;
The is an example of a script which fails to dereference, because when the player quits their userdata value remains in the table, but what if in a weeks time another player joins and they get assigned the same userdata value?&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
local admins = {}&lt;br /&gt;
local secretPasswordOnlyAdminsShouldKnow = &amp;quot;12345678&amp;quot;&lt;br /&gt;
&lt;br /&gt;
function adminLogin()&lt;br /&gt;
    if (hasObjectPermissionTo(source, &amp;quot;command.ban&amp;quot;, false)) then&lt;br /&gt;
        admins[source] = true&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPlayerLogin&amp;quot;, root, adminLogin)&lt;br /&gt;
&lt;br /&gt;
function cmdGetSecretPassword(plr)&lt;br /&gt;
    if (not admins[plr]) then&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
    outputChatBox(&amp;quot;The secret password is &amp;quot;..secretPasswordOnlyAdminsShouldKnow, plr)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;getsecretpass&amp;quot;, cmdGetSecretPassword)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some random player who joins in a weeks time gets the same userdata value as an admin, that player can now use &amp;quot;getsecretpass&amp;quot;. Solution? De-reference on destruction!&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function onQuit()&lt;br /&gt;
    admins[source] = nil&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPlayerQuit&amp;quot;, root, onQuit)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Server Performance ==&lt;br /&gt;
* Server lagging? Check [[Debugging#Debugging_Performance_Issues|this page of debugging performance issues]]&lt;br /&gt;
* Using resourceRoot in event handlers for events from clients is much more efficient than using root.&lt;br /&gt;
* Try to be efficient, but if what you're doing is too time consuming or complex, is it really efficient?&lt;br /&gt;
* It's much more efficient to set player health client side, consider a client event all your server scripts can call to set a players health.&lt;br /&gt;
* Unless you have hundreds of players, don't worry about making little optimizations, check ''performancebrowser'' or ''ipb'' (ingame performancebrowser) and make sure no resource is using significantly more than the others.&lt;br /&gt;
&lt;br /&gt;
== Client Performance ==&lt;br /&gt;
* The biggest cause of client script CPU usage is anything done in onClient/Pre/Hud/Render because it is called so often. For example if you have a script which calls dxDrawLine3D 20 times, 60 times a second, if those lines are only in 1 part of the map, consider adding a [[getDistanceBetweenPoints3D]] check between the local player and the general area that those lines are in and if they're no where near the player, don't draw the lines.&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45251</id>
		<title>OnClientBrowserNavigate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45251"/>
		<updated>2015-05-28T16:12:45Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is executed  when the browser loads a new page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string targetURL, bool isblocked&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''targetURL:'''&lt;br /&gt;
*'''isblocked:'''&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45250</id>
		<title>OnClientBrowserNavigate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45250"/>
		<updated>2015-05-28T15:43:20Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is executed  when the browser loads a new page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string targetURL, bool isMainFrame&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''targetURL:'''&lt;br /&gt;
*'''isblocked:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Mr.unpredictable&amp;diff=45249</id>
		<title>User:Mr.unpredictable</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Mr.unpredictable&amp;diff=45249"/>
		<updated>2015-05-27T04:37:59Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi this is Mr.unpredictable&lt;br /&gt;
&lt;br /&gt;
You can contact me in Forum http://forum.mtasa.com/memberlist.php?mode=viewprofile&amp;amp;u=77689&lt;br /&gt;
&lt;br /&gt;
[https://wiki.multitheftauto.com/wiki/Special:Contributions/Mr.unpredictable wiki ]&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45248</id>
		<title>OnClientBrowserNavigate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45248"/>
		<updated>2015-05-26T17:51:07Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is executed  when the browser loads a new page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string targetURL, bool isMainFrame&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''targetURL:'''&lt;br /&gt;
*'''isMainFrame:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientBrowserNavigate&amp;quot; , root , &lt;br /&gt;
	function ( targetURL , isMainFrame ) &lt;br /&gt;
		if isMainFrame then &lt;br /&gt;
			outputChatBox ( &amp;quot;Navigating you to a new page&amp;quot;  .. targetURL ) &lt;br /&gt;
		end &lt;br /&gt;
	end &lt;br /&gt;
)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45247</id>
		<title>OnClientBrowserNavigate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45247"/>
		<updated>2015-05-26T17:46:53Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is executed  when the browser loads a new page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string targetURL, bool isMainFrame&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''targetURL:'''&lt;br /&gt;
*'''isMainFrame:'''&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
todo&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientBrowserNavigate&amp;quot; , root , &lt;br /&gt;
	function ( targetURL , isMainFrame ) &lt;br /&gt;
		if isMainFrame then &lt;br /&gt;
			outputChatBox ( &amp;quot;Navigating you to a new page&amp;quot;  .. targetURL ) &lt;br /&gt;
		end &lt;br /&gt;
	end &lt;br /&gt;
)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45246</id>
		<title>OnClientBrowserNavigate</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserNavigate&amp;diff=45246"/>
		<updated>2015-05-26T16:30:38Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is executed  when the browser loads a new page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string targetURL, bool isMainFrame&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''targetURL:'''&lt;br /&gt;
*'''isMainFrame:'''&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
todo&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
TODOaddEventHandler ( &amp;quot;onClientBrowserNavigate&amp;quot; , root , &lt;br /&gt;
	function ( targetURL , isMainFrame ) &lt;br /&gt;
		if isMainFrame then &lt;br /&gt;
			outputChatBox ( &amp;quot;Navigating you to a new page&amp;quot;  .. targetURL ) &lt;br /&gt;
		end &lt;br /&gt;
	end &lt;br /&gt;
)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45245</id>
		<title>OnClientBrowserLoadingFailed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45245"/>
		<updated>2015-05-26T16:27:58Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is triggered when the browser can not load the page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url, int errorCode, string errorDescription&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' &lt;br /&gt;
*'''errorCode:''' &lt;br /&gt;
*'''errorDescription:''' &lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;addEventHandler(&amp;quot;onClientBrowserLoadingFailed&amp;quot;, root,&lt;br /&gt;
	function(url, errorCode, errorDescription)&lt;br /&gt;
		outputChatBox(&amp;quot;This webpage is not available&amp;quot; .. url .. &amp;quot;Unknown&amp;quot; .. errorCode .. &amp;quot;Unknown&amp;quot; .. errorDescription)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45244</id>
		<title>OnClientBrowserLoadingFailed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45244"/>
		<updated>2015-05-26T16:27:41Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is triggered when the browser can not load the page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url, int errorCode, string errorDescription&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' &lt;br /&gt;
*'''errorCode:''' &lt;br /&gt;
*'''errorDescription:''' &lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[lua]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;addEventHandler(&amp;quot;onClientBrowserLoadingFailed&amp;quot;, root,&lt;br /&gt;
	function(url, errorCode, errorDescription)&lt;br /&gt;
		outputChatBox(&amp;quot;This webpage is not available&amp;quot; .. url .. &amp;quot;Unknown&amp;quot; .. errorCode .. &amp;quot;Unknown&amp;quot; .. errorDescription)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45243</id>
		<title>OnClientBrowserLoadingFailed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45243"/>
		<updated>2015-05-26T16:27:16Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is triggered when the browser can not load the page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url, int errorCode, string errorDescription&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' &lt;br /&gt;
*'''errorCode:''' &lt;br /&gt;
*'''errorDescription:''' &lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
todo&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
[lua]&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;addEventHandler(&amp;quot;onClientBrowserLoadingFailed&amp;quot;, root,&lt;br /&gt;
	function(url, errorCode, errorDescription)&lt;br /&gt;
		outputChatBox(&amp;quot;This webpage is not available&amp;quot; .. url .. &amp;quot;Unknown&amp;quot; .. errorCode .. &amp;quot;Unknown&amp;quot; .. errorDescription)&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45242</id>
		<title>OnClientBrowserLoadingFailed</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserLoadingFailed&amp;diff=45242"/>
		<updated>2015-05-26T16:26:33Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
The event is triggered when the browser can not load the page.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url, int errorCode, string errorDescription&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' &lt;br /&gt;
*'''errorCode:''' &lt;br /&gt;
*'''errorDescription:''' &lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;addEventHandler(&amp;quot;onClientBrowserLoadingFailed&amp;quot;, root,&lt;br /&gt;
	function(url, errorCode, errorDescription)&lt;br /&gt;
		outputChatBox(&amp;quot;This webpage is not available&amp;quot; .. url .. &amp;quot;Unknown&amp;quot; .. errorCode .. &amp;quot;Unknown&amp;quot; .. errorDescription)&lt;br /&gt;
	end&lt;br /&gt;
)&amp;lt;/syntaxhighlight&amp;gt;&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;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserCreated&amp;diff=45241</id>
		<title>OnClientBrowserCreated</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserCreated&amp;diff=45241"/>
		<updated>2015-05-26T16:18:56Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client event}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
This event is triggered when the CEF browser instance has been created. If you want to load a specific website right after creating the browser (using [[createBrowser]] or [[guiCreateBrowser]]), this event will be the convenient place. &lt;br /&gt;
&lt;br /&gt;
{{Note|Calling loadBrowserURL right after [[createBrowser]] will not work normally due to the nature of the asynchronous browser interface.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&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;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserDocumentReady&amp;diff=45240</id>
		<title>OnClientBrowserDocumentReady</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserDocumentReady&amp;diff=45240"/>
		<updated>2015-05-26T16:18:23Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
This event is executed after the web page has been loaded successfully.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' the url of the web page loaded.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser|browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientBrowserDocumentReady&amp;quot; , root , &lt;br /&gt;
	function ( url ) &lt;br /&gt;
		outputChatBox ( &amp;quot;#FFFC00The page&amp;quot;  .. url ..  &amp;quot;has been successfully loaded.&amp;quot; ) &lt;br /&gt;
	end &lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserDocumentReady&amp;diff=45239</id>
		<title>OnClientBrowserDocumentReady</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserDocumentReady&amp;diff=45239"/>
		<updated>2015-05-26T16:18:02Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
This event is executed after the web page has been loaded successfully.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' the url of the web page loaded.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[Element/Browser||browser]] element&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientBrowserDocumentReady&amp;quot; , root , &lt;br /&gt;
	function ( url ) &lt;br /&gt;
		outputChatBox ( &amp;quot;#FFFC00The page&amp;quot;  .. url ..  &amp;quot;has been successfully loaded.&amp;quot; ) &lt;br /&gt;
	end &lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientBrowserDocumentReady&amp;diff=45238</id>
		<title>OnClientBrowserDocumentReady</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientBrowserDocumentReady&amp;diff=45238"/>
		<updated>2015-05-26T16:17:14Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
This event is executed after the web page has been loaded successfully.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string url&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''url:''' the url of the web page loaded.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
todo&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler ( &amp;quot;onClientBrowserDocumentReady&amp;quot; , root , &lt;br /&gt;
	function ( url ) &lt;br /&gt;
		outputChatBox ( &amp;quot;#FFFC00The page&amp;quot;  .. url ..  &amp;quot;has been successfully loaded.&amp;quot; ) &lt;br /&gt;
	end &lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{CEF_events}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetWeaponOwner&amp;diff=45219</id>
		<title>GetWeaponOwner</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetWeaponOwner&amp;diff=45219"/>
		<updated>2015-05-20T20:42:51Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function gets the owner of a [[Element/Weapon|custom weapon]]. Weapon ownership system was, however, disabled, so this function always returns ''false''. Please refer to [[setWeaponOwner]] for details.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool getWeaponOwner ( weapon theWeapon )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|Pair is completely disabled at the moment (its value is ''[[nil]]'').|[[Element/Weapon|weapon]]:getOwner|owner|setWeaponOwner}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon:''' The weapon to get the owner of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
This function was intended to return the [[player]] which owns the [[Element/Weapon|custom weapon]], and ''false'' if an error occured. However, at the moment it always returns ''false''.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function arma()&lt;br /&gt;
	minigun = createWeapon(&amp;quot;minigun&amp;quot;, 1, 1, 3)--Create the weapon&lt;br /&gt;
	setWeaponClipAmmo(minigun, 99999)&lt;br /&gt;
        setWeaponState(minigun, &amp;quot;firing&amp;quot;)&lt;br /&gt;
	setWeaponProperty(minigun, &amp;quot;fire_rotation&amp;quot;, 0, -30, 0)&lt;br /&gt;
	dueno = getWeaponOwner(minigun)--This gets the owner&lt;br /&gt;
	outputChatBox(tostring(dueno))--And this say it in the chatbox&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;weapon&amp;quot;, arma)--CommandHandler&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:GetAccountByName&amp;diff=45218</id>
		<title>Multi Theft Auto: Wiki:GetAccountByName</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:GetAccountByName&amp;diff=45218"/>
		<updated>2015-05-20T20:07:23Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useless Function|Function doesn't exist https://github.com/multitheftauto/mtasa-blue}}&lt;br /&gt;
&amp;lt;lowercasetitle/&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function returns account from specific name (if account with that name exists)&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;'''Important Note:''' This is only SERVER-SIDE!&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;account getAccountFromName( string accountname )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''accountName''': The name of the account you want to retrieve&lt;br /&gt;
&lt;br /&gt;
==Code==&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;
function getAccountFromName(name) &lt;br /&gt;
   for _,account in pairs(getAccounts()) do&lt;br /&gt;
      local accname = getAccountName(account)&lt;br /&gt;
      if accname:find(name) then&lt;br /&gt;
	 return account&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==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 tells you if there is an account with same username as your nickname.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function testFunction(player)&lt;br /&gt;
local text = getPlayerName(player)&lt;br /&gt;
   if getAccountFromName(text) then&lt;br /&gt;
      outputChatBox(&amp;quot;There is an account with same username as your nickname!&amp;quot;,player,255,0,0)&lt;br /&gt;
   else&lt;br /&gt;
      outputChatBox(&amp;quot;Nobody yet used your nickname as account username :)&amp;quot;,player,0,255,0)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;myaccount&amp;quot;,testFunction)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: SunArrow&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:GetAccountByName&amp;diff=45217</id>
		<title>Multi Theft Auto: Wiki:GetAccountByName</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_Theft_Auto:_Wiki:GetAccountByName&amp;diff=45217"/>
		<updated>2015-05-20T20:05:49Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useless_Function}}&lt;br /&gt;
&amp;lt;lowercasetitle/&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function returns account from specific name (if account with that name exists)&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;'''Important Note:''' This is only SERVER-SIDE!&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;account getAccountFromName( string accountname )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''accountName''': The name of the account you want to retrieve&lt;br /&gt;
&lt;br /&gt;
==Code==&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;
function getAccountFromName(name) &lt;br /&gt;
   for _,account in pairs(getAccounts()) do&lt;br /&gt;
      local accname = getAccountName(account)&lt;br /&gt;
      if accname:find(name) then&lt;br /&gt;
	 return account&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==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 tells you if there is an account with same username as your nickname.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function testFunction(player)&lt;br /&gt;
local text = getPlayerName(player)&lt;br /&gt;
   if getAccountFromName(text) then&lt;br /&gt;
      outputChatBox(&amp;quot;There is an account with same username as your nickname!&amp;quot;,player,255,0,0)&lt;br /&gt;
   else&lt;br /&gt;
      outputChatBox(&amp;quot;Nobody yet used your nickname as account username :)&amp;quot;,player,0,255,0)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;myaccount&amp;quot;,testFunction)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: SunArrow&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45207</id>
		<title>PlaySound</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45207"/>
		<updated>2015-05-18T09:32:40Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: Undo revision 45206 by Mr.unpredictable (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Creates a [[sound]] [[element]] and plays it immediately after creation for the local player.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Note:''' The only supported audio formats are MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS(e.g. Webstream).&lt;br /&gt;
{{Note|For performance reasons, when using playSound for effects that will be played lots (i.e. weapon fire), it is recommend that you convert your audio file to a one channel (mono) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false, [ bool throttled = true ] ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
}}&lt;br /&gt;
{{OOP||[[Sound]].create}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''soundPath:''' the [[filepath]] or URL of the sound file you want to play. (Sound specified by filepath has to be predefined in the [[meta.xml]] file with &amp;lt;file /&amp;gt; tag.)&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''looped:''' a [[boolean]] representing whether the sound will be looped. To loop the sound, use ''true''. Loop is not available for streaming sounds, only for sound files.&lt;br /&gt;
*'''throttled:''' a [[boolean]] representing whether the sound will be throttled. To throttle the sound, use ''true''. Sounds will be throttled per default and only for URLs.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[sound]] [[element]] if the sound was successfully created, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function wasted (killer, weapon, bodypart) &lt;br /&gt;
	local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) --Play wasted.mp3 from the sounds folder&lt;br /&gt;
	setSoundVolume(sound, 0.5) -- set the sound volume to 50%&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getLocalPlayer(), wasted) --add the event handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
[[AR:playSound]]&lt;br /&gt;
[[DE:playSound]]&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45206</id>
		<title>PlaySound</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45206"/>
		<updated>2015-05-18T09:32:05Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: Undo revision 45205 by Mr.unpredictable (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{\rtf1\ansi\ansicpg1252&lt;br /&gt;
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}&lt;br /&gt;
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red255\green255\blue255;}&lt;br /&gt;
\deftab720&lt;br /&gt;
\pard\pardeftab720\sl380\partightenfactor0&lt;br /&gt;
&lt;br /&gt;
\f0\fs22 \cf2 \cb3 \expnd0\expndtw0\kerning0&lt;br /&gt;
\outl0\strokewidth0 \strokec2 \uc0\u8234 __NOTOC__ \uc0\u8236 \&lt;br /&gt;
\{\{Client function\}\}\uc0\u8236 \&lt;br /&gt;
Creates a [[sound]] [[element]] and plays it immediately after creation for the local player.&amp;lt;br /&amp;gt;\uc0\u8236 \&lt;br /&gt;
&amp;lt;br /&amp;gt;\uc0\u8236 \&lt;br /&gt;
'''Note:''' The only supported audio formats are MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS(e.g. Webstream).\uc0\u8236 \&lt;br /&gt;
\{\{Note|For performance reasons, when using playSound for effects that will be played lots (i.e. weapon fire), it is recommend that you convert your audio file to a one channel (mono) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.\}\}\uc0\u8236 \&lt;br /&gt;
==Syntax== \uc0\u8236 \&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false ] )&amp;lt;/syntaxhighlight&amp;gt; \uc0\u8236 \&lt;br /&gt;
\{\{New feature/item|3.0150|1.5||\uc0\u8236 \&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false, [ bool throttled = true ] ] )&amp;lt;/syntaxhighlight&amp;gt; \uc0\u8236 \&lt;br /&gt;
\}\}\uc0\u8236 \&lt;br /&gt;
\{\{OOP||[[Sound]].create\}\}\uc0\u8236 \&lt;br /&gt;
===Required Arguments=== \uc0\u8236 \&lt;br /&gt;
*'''soundPath:''' the [[filepath]] or URL of the sound file you want to play. (Sound specified by filepath has to be predefined in the [[meta.xml]] file with &amp;lt;file /&amp;gt; tag.)\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
===Optional Arguments=== \uc0\u8236 \&lt;br /&gt;
\{\{OptionalArg\}\} \uc0\u8236 \&lt;br /&gt;
*'''looped:''' a [[boolean]] representing whether the sound will be looped. To loop the sound, use ''true''. Loop is not available for streaming sounds, only for sound files.\uc0\u8236 \&lt;br /&gt;
*'''throttled:''' a [[boolean]] representing whether the sound will be throttled. To throttle the sound, use ''true''. Sounds will be throttled per default and only for URLs.\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
===Returns===\uc0\u8236 \&lt;br /&gt;
Returns a [[sound]] [[element]] if the sound was successfully created, ''false'' otherwise.\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
==Example==\uc0\u8236 \&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;\uc0\u8236 \&lt;br /&gt;
function wasted (killer, weapon, bodypart) \uc0\u8236 \&lt;br /&gt;
	local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) --Play wasted.mp3 from the sounds folder\uc0\u8236 \&lt;br /&gt;
	setSoundVolume(sound, 0.5) -- set the sound volume to 50%\uc0\u8236 \&lt;br /&gt;
end\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getLocalPlayer(), wasted) --add the event handler\uc0\u8236 \&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
==See Also==\uc0\u8236 \&lt;br /&gt;
\{\{Client_audio_functions\}\}\uc0\u8236 \&lt;br /&gt;
[[AR:playSound]]\uc0\u8236 \&lt;br /&gt;
[[DE:playSound]]\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 }&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45205</id>
		<title>PlaySound</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45205"/>
		<updated>2015-05-18T09:26:47Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Creates a [[sound]] [[element]] and plays it immediately after creation for the local player.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Note:''' The only supported audio formats are MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS(e.g. Webstream).&lt;br /&gt;
{{Note|For performance reasons, when using playSound for effects that will be played lots (i.e. weapon fire), it is recommend that you convert your audio file to a one channel (mono) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.}}&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false, [ bool throttled = true ] ] )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
}}&lt;br /&gt;
{{OOP||[[Sound]].create}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''soundPath:''' the [[filepath]] or URL of the sound file you want to play. (Sound specified by filepath has to be predefined in the [[meta.xml]] file with &amp;lt;file /&amp;gt; tag.)&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''looped:''' a [[boolean]] representing whether the sound will be looped. To loop the sound, use ''true''. Loop is not available for streaming sounds, only for sound files.&lt;br /&gt;
*'''throttled:''' a [[boolean]] representing whether the sound will be throttled. To throttle the sound, use ''true''. Sounds will be throttled per default and only for URLs.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a [[sound]] [[element]] if the sound was successfully created, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function wasted (killer, weapon, bodypart) &lt;br /&gt;
	local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) --Play wasted.mp3 from the sounds folder&lt;br /&gt;
	setSoundVolume(sound, 0.5) -- set the sound volume to 50%&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getLocalPlayer(), wasted) --add the event handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_audio_functions}}&lt;br /&gt;
[[AR:playSound]]&lt;br /&gt;
[[DE:playSound]]&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45204</id>
		<title>PlaySound</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PlaySound&amp;diff=45204"/>
		<updated>2015-05-18T09:24:12Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{\rtf1\ansi\ansicpg1252&lt;br /&gt;
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}&lt;br /&gt;
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red255\green255\blue255;}&lt;br /&gt;
\deftab720&lt;br /&gt;
\pard\pardeftab720\sl380\partightenfactor0&lt;br /&gt;
&lt;br /&gt;
\f0\fs22 \cf2 \cb3 \expnd0\expndtw0\kerning0&lt;br /&gt;
\outl0\strokewidth0 \strokec2 \uc0\u8234 __NOTOC__ \uc0\u8236 \&lt;br /&gt;
\{\{Client function\}\}\uc0\u8236 \&lt;br /&gt;
Creates a [[sound]] [[element]] and plays it immediately after creation for the local player.&amp;lt;br /&amp;gt;\uc0\u8236 \&lt;br /&gt;
&amp;lt;br /&amp;gt;\uc0\u8236 \&lt;br /&gt;
'''Note:''' The only supported audio formats are MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS(e.g. Webstream).\uc0\u8236 \&lt;br /&gt;
\{\{Note|For performance reasons, when using playSound for effects that will be played lots (i.e. weapon fire), it is recommend that you convert your audio file to a one channel (mono) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.\}\}\uc0\u8236 \&lt;br /&gt;
==Syntax== \uc0\u8236 \&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false ] )&amp;lt;/syntaxhighlight&amp;gt; \uc0\u8236 \&lt;br /&gt;
\{\{New feature/item|3.0150|1.5||\uc0\u8236 \&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;element playSound ( string soundPath, [ bool looped = false, [ bool throttled = true ] ] )&amp;lt;/syntaxhighlight&amp;gt; \uc0\u8236 \&lt;br /&gt;
\}\}\uc0\u8236 \&lt;br /&gt;
\{\{OOP||[[Sound]].create\}\}\uc0\u8236 \&lt;br /&gt;
===Required Arguments=== \uc0\u8236 \&lt;br /&gt;
*'''soundPath:''' the [[filepath]] or URL of the sound file you want to play. (Sound specified by filepath has to be predefined in the [[meta.xml]] file with &amp;lt;file /&amp;gt; tag.)\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
===Optional Arguments=== \uc0\u8236 \&lt;br /&gt;
\{\{OptionalArg\}\} \uc0\u8236 \&lt;br /&gt;
*'''looped:''' a [[boolean]] representing whether the sound will be looped. To loop the sound, use ''true''. Loop is not available for streaming sounds, only for sound files.\uc0\u8236 \&lt;br /&gt;
*'''throttled:''' a [[boolean]] representing whether the sound will be throttled. To throttle the sound, use ''true''. Sounds will be throttled per default and only for URLs.\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
===Returns===\uc0\u8236 \&lt;br /&gt;
Returns a [[sound]] [[element]] if the sound was successfully created, ''false'' otherwise.\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
==Example==\uc0\u8236 \&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;\uc0\u8236 \&lt;br /&gt;
function wasted (killer, weapon, bodypart) \uc0\u8236 \&lt;br /&gt;
	local sound = playSound(&amp;quot;sounds/wasted.mp3&amp;quot;) --Play wasted.mp3 from the sounds folder\uc0\u8236 \&lt;br /&gt;
	setSoundVolume(sound, 0.5) -- set the sound volume to 50%\uc0\u8236 \&lt;br /&gt;
end\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getLocalPlayer(), wasted) --add the event handler\uc0\u8236 \&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 \&lt;br /&gt;
==See Also==\uc0\u8236 \&lt;br /&gt;
\{\{Client_audio_functions\}\}\uc0\u8236 \&lt;br /&gt;
[[AR:playSound]]\uc0\u8236 \&lt;br /&gt;
[[DE:playSound]]\uc0\u8236 \&lt;br /&gt;
\uc0\u8236 }&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Error_Codes&amp;diff=45196</id>
		<title>Error Codes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Error_Codes&amp;diff=45196"/>
		<updated>2015-05-10T14:53:49Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Automatically generated with utils\gen_error_wikitable.py --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Error Code&lt;br /&gt;
!Associated strings&lt;br /&gt;
!File:LineNumber&lt;br /&gt;
|-&lt;br /&gt;
|'''CC01'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunity.cpp:130&lt;br /&gt;
|-&lt;br /&gt;
|'''CC02'''&lt;br /&gt;
|Login Error&lt;br /&gt;
&lt;br /&gt;
Invalid username/password&lt;br /&gt;
|MTA10\core\CCommunityLogin.cpp:112&lt;br /&gt;
|-&lt;br /&gt;
|'''CC03'''&lt;br /&gt;
|Login Error&lt;br /&gt;
|MTA10\core\CCommunityLogin.cpp:150&lt;br /&gt;
|-&lt;br /&gt;
|'''CC04'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:198&lt;br /&gt;
|-&lt;br /&gt;
|'''CC05'''&lt;br /&gt;
|Success&lt;br /&gt;
&lt;br /&gt;
Successfully registered!&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:202&lt;br /&gt;
|-&lt;br /&gt;
|'''CC06'''&lt;br /&gt;
|Error&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:212&lt;br /&gt;
|-&lt;br /&gt;
|'''CC07'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Unexpected error&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:214&lt;br /&gt;
|-&lt;br /&gt;
|'''CC08'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:220&lt;br /&gt;
|-&lt;br /&gt;
|'''CC10'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:226&lt;br /&gt;
|-&lt;br /&gt;
|'''CC11'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Username missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:254&lt;br /&gt;
|-&lt;br /&gt;
|'''CC12'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Email missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:256&lt;br /&gt;
|-&lt;br /&gt;
|'''CC13'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Password missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:258&lt;br /&gt;
|-&lt;br /&gt;
|'''CC14'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Passwords do not match&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:260&lt;br /&gt;
|-&lt;br /&gt;
|'''CC15'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Validation code missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:262&lt;br /&gt;
|-&lt;br /&gt;
|'''CC20'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nick provided&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:83&lt;br /&gt;
|-&lt;br /&gt;
|'''CC21'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid host provided&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:111&lt;br /&gt;
|-&lt;br /&gt;
|'''CC22'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Failed to connect&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:123&lt;br /&gt;
|-&lt;br /&gt;
|'''CC23'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connection timed out&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:258&lt;br /&gt;
|-&lt;br /&gt;
|'''CC24'''&lt;br /&gt;
|Disconnected: unknown protocol error&lt;br /&gt;
&lt;br /&gt;
encryption key mismatch&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:272&lt;br /&gt;
|-&lt;br /&gt;
|'''CC25'''&lt;br /&gt;
|Disconnected: disconnected remotely&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:275&lt;br /&gt;
|-&lt;br /&gt;
|'''CC26'''&lt;br /&gt;
|Disconnected: connection lost remotely&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:278&lt;br /&gt;
|-&lt;br /&gt;
|'''CC27'''&lt;br /&gt;
|Disconnected: you are banned from this server&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:281&lt;br /&gt;
|-&lt;br /&gt;
|'''CC28'''&lt;br /&gt;
|Disconnected: disconnected from the server&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:287&lt;br /&gt;
|-&lt;br /&gt;
|'''CC29'''&lt;br /&gt;
|Disconnected: connection to the server was lost&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:290&lt;br /&gt;
|-&lt;br /&gt;
|'''CC30'''&lt;br /&gt;
|Disconnected: connection was refused&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:296&lt;br /&gt;
|-&lt;br /&gt;
|'''CC31'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Mod loading failed&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:400&lt;br /&gt;
|-&lt;br /&gt;
|'''CC32'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Bad server response (2)&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:407&lt;br /&gt;
|-&lt;br /&gt;
|'''CC33'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Bad server response (1)&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:417&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|'''CC34'''&lt;br /&gt;
|Disconnected: unknown protocol error&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:270&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|'''CC40'''&lt;br /&gt;
|%s module is incorrect!&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\core\CCore.cpp:823&lt;br /&gt;
|-&lt;br /&gt;
|'''CC41'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Error executing URL&lt;br /&gt;
|MTA10\core\CCore.cpp:1134&lt;br /&gt;
|-&lt;br /&gt;
|'''CC42'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Command line Mod load failed&lt;br /&gt;
|MTA10\core\CCore.cpp:1147&lt;br /&gt;
|-&lt;br /&gt;
|'''CC50'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Could not initialize Direct3D9.  Please ensure the DirectX End-User Runtime and latest Windows Service Packs are installed correctly.&lt;br /&gt;
|MTA10\core\CDirect3DHook9.cpp:89&lt;br /&gt;
|-&lt;br /&gt;
|'''CC51'''&lt;br /&gt;
|The skin you selected could not be loaded, and the default skin also could not be loaded, please reinstall MTA.&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\core\CGUI.cpp:87&lt;br /&gt;
|-&lt;br /&gt;
|'''CC60'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No host specified!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:149&lt;br /&gt;
|-&lt;br /&gt;
|'''CC61'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No port specified!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:158&lt;br /&gt;
|-&lt;br /&gt;
|'''CC62'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid port specified!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:163&lt;br /&gt;
|-&lt;br /&gt;
|'''CC63'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:172&lt;br /&gt;
|-&lt;br /&gt;
|'''CC70'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No address specified!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1224&lt;br /&gt;
|-&lt;br /&gt;
|'''CC71'''&lt;br /&gt;
|Unknown protocol&lt;br /&gt;
&lt;br /&gt;
Please use the mtasa:// protocol!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1237&lt;br /&gt;
|-&lt;br /&gt;
|'''CC72'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1246&lt;br /&gt;
|-&lt;br /&gt;
|'''CC73'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1304&lt;br /&gt;
|-&lt;br /&gt;
|'''CC74'''&lt;br /&gt;
|Information&lt;br /&gt;
&lt;br /&gt;
You have to select a server to connect to.&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1326&lt;br /&gt;
|-&lt;br /&gt;
|'''CC75'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No address specified!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1351&lt;br /&gt;
|-&lt;br /&gt;
|'''CC80'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Please disconnect before changing skin&lt;br /&gt;
|MTA10\core\CSettings.cpp:3334&lt;br /&gt;
|-&lt;br /&gt;
|'''CC81'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Your nickname contains invalid characters!&lt;br /&gt;
|MTA10\core\CSettings.cpp:3619&lt;br /&gt;
|-&lt;br /&gt;
|'''CD01'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:535&lt;br /&gt;
|-&lt;br /&gt;
|'''CD02'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Not connected; please use Quick Connect or the 'connect' command to connect to a server.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:610&lt;br /&gt;
|-&lt;br /&gt;
|'''CD03'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:635&lt;br /&gt;
|-&lt;br /&gt;
|'''CD04'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
The server is not installed&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:661&lt;br /&gt;
|-&lt;br /&gt;
|'''CD05'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
You were kicked from the game ( %s )&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1005&lt;br /&gt;
|-&lt;br /&gt;
|'''CD06'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Error connecting to server.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1084&lt;br /&gt;
|-&lt;br /&gt;
|'''CD07'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connecting to local server timed out. See console for details.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1094&lt;br /&gt;
|-&lt;br /&gt;
|'''CD08'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connection timed out&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1163&lt;br /&gt;
|-&lt;br /&gt;
|'''CD09'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connection with the server was lost&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1197&lt;br /&gt;
|-&lt;br /&gt;
|'''CD10'''&lt;br /&gt;
|Disconnected: unknown protocol error&lt;br /&gt;
&lt;br /&gt;
encryption key mismatch&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1209&lt;br /&gt;
|-&lt;br /&gt;
|'''CD11'''&lt;br /&gt;
|Disconnected: disconnected remotely&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1212&lt;br /&gt;
|-&lt;br /&gt;
|'''CD12'''&lt;br /&gt;
|Disconnected: connection lost remotely&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1215&lt;br /&gt;
|-&lt;br /&gt;
|'''CD13'''&lt;br /&gt;
|Disconnected: you are banned from this server&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1218&lt;br /&gt;
|-&lt;br /&gt;
|'''CD14'''&lt;br /&gt;
|Disconnected: the server is currently full&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1221&lt;br /&gt;
|-&lt;br /&gt;
|'''CD15'''&lt;br /&gt;
|Disconnected: disconnected from the server&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1224&lt;br /&gt;
|-&lt;br /&gt;
|'''CD16'''&lt;br /&gt;
|Disconnected: connection to the server was lost&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1227&lt;br /&gt;
|-&lt;br /&gt;
|'''CD17'''&lt;br /&gt;
|Disconnected: invalid password specified&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1230&lt;br /&gt;
|-&lt;br /&gt;
|'''CD18'''&lt;br /&gt;
|Disconnected: connection was refused&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1233&lt;br /&gt;
|-&lt;br /&gt;
|'''CD19'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
MTA Client verification failed!&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1251&lt;br /&gt;
|-&lt;br /&gt;
|'''CD20'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
HTTP Error&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:3980&lt;br /&gt;
|-&lt;br /&gt;
|'''CD30'''&lt;br /&gt;
|Disconnected: Invalid nickname&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:548&lt;br /&gt;
|-&lt;br /&gt;
|'''CD31'''&lt;br /&gt;
|Disconnect from server&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:551&lt;br /&gt;
|-&lt;br /&gt;
|'''CD32'''&lt;br /&gt;
|Disconnected: Serial is banned.\nReason: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:554&lt;br /&gt;
|-&lt;br /&gt;
|'''CD33'''&lt;br /&gt;
|Disconnected: You are banned.\nReason: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:558&lt;br /&gt;
|-&lt;br /&gt;
|'''CD34'''&lt;br /&gt;
|Disconnected: Account is banned.\nReason: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:561&lt;br /&gt;
|-&lt;br /&gt;
|'''CD35'''&lt;br /&gt;
|Disconnected: Version mismatch&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:564&lt;br /&gt;
|-&lt;br /&gt;
|'''CD36'''&lt;br /&gt;
|Disconnected: Join flood. Please wait a minute, then reconnect.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:567&lt;br /&gt;
|-&lt;br /&gt;
|'''CD37'''&lt;br /&gt;
|Disconnected: Server from different branch.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:570&lt;br /&gt;
|-&lt;br /&gt;
|'''CD38'''&lt;br /&gt;
|Disconnected: Bad version.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:573&lt;br /&gt;
|-&lt;br /&gt;
|'''CD39'''&lt;br /&gt;
|Disconnected: Server is running a newer build.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:576&lt;br /&gt;
|-&lt;br /&gt;
|'''CD40'''&lt;br /&gt;
|Disconnected: Server is running an older build.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:579&lt;br /&gt;
|-&lt;br /&gt;
|'''CD41'''&lt;br /&gt;
|Disconnected: Nick already in use&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:582&lt;br /&gt;
|-&lt;br /&gt;
|'''CD42'''&lt;br /&gt;
|Disconnected: Player Element Could not be created.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:585&lt;br /&gt;
|-&lt;br /&gt;
|'''CD43'''&lt;br /&gt;
|Disconnected: Server refused the connection: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:588&lt;br /&gt;
|-&lt;br /&gt;
|'''CD44'''&lt;br /&gt;
|Disconnected: Serial verification failed&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:591&lt;br /&gt;
|-&lt;br /&gt;
|'''CD45'''&lt;br /&gt;
|Disconnected: Connection desync %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:594&lt;br /&gt;
|-&lt;br /&gt;
|'''CD46'''&lt;br /&gt;
|Disconnected: You were kicked by %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:601&lt;br /&gt;
|-&lt;br /&gt;
|'''CD47'''&lt;br /&gt;
|Disconnected: You were banned by %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:604&lt;br /&gt;
|-&lt;br /&gt;
|'''CD48'''&lt;br /&gt;
|%s&lt;br /&gt;
&lt;br /&gt;
Custom disconnect reason&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:608&lt;br /&gt;
|-&lt;br /&gt;
|'''CD49'''&lt;br /&gt;
|Disconnected: Server shutdown or restarting&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandle.cpp:562&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|'''CD60'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Could not start the local server. See console for details.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CServer.cpp:194&lt;br /&gt;
|-&lt;br /&gt;
|'''CD61'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
DoDisconnectRemote&lt;br /&gt;
|Shared\mods\deathmatch\logic\CLatentTransferManager.cpp:374&lt;br /&gt;
|-&lt;br /&gt;
|'''CD62'''&lt;br /&gt;
|Fatal error&lt;br /&gt;
|MTA10\mods\shared_logic\Utils.cpp:167&lt;br /&gt;
|-&lt;br /&gt;
|'''CD63'''&lt;br /&gt;
|Connection error&lt;br /&gt;
&lt;br /&gt;
Protocol error&lt;br /&gt;
|MTA10\mods\shared_logic\Utils.cpp:182&lt;br /&gt;
|-&lt;br /&gt;
|'''CD64'''&lt;br /&gt;
|This version has expired.&lt;br /&gt;
&lt;br /&gt;
MTA: San Andreas &lt;br /&gt;
|MTA10\mods\deathmatch\CClient.cpp:41&lt;br /&gt;
|-&lt;br /&gt;
|'''CL01'''&lt;br /&gt;
|MTA:SA could not complete the following task:\n\n  '%s'\n&lt;br /&gt;
&lt;br /&gt;
Multi Theft Auto: San Andreas&lt;br /&gt;
|MTA10\loader\CInstallManager.cpp:339&lt;br /&gt;
|-&lt;br /&gt;
|'''CL02'''&lt;br /&gt;
|Could not update due to file conflicts. Please close other applications and retry&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\CInstallManager.cpp:513&lt;br /&gt;
|-&lt;br /&gt;
|'''CL03'''&lt;br /&gt;
|Multi Theft Auto has not been installed properly, please reinstall. %s&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\CInstallManager.cpp:522&lt;br /&gt;
|-&lt;br /&gt;
|'''CL04'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Trouble restarting MTA:SA&lt;br /&gt;
|MTA10\loader\Main.cpp:159&lt;br /&gt;
|-&lt;br /&gt;
|'''CL05'''&lt;br /&gt;
|Another instance of MTA is already running.\n\nIf this problem persists, please restart your computer&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\Main.cpp:172&lt;br /&gt;
|-&lt;br /&gt;
|'''CL06'''&lt;br /&gt;
|Another instance of MTA is already running.\n\nDo you want to terminate it?&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\Main.cpp:175&lt;br /&gt;
|-&lt;br /&gt;
|'''CL07'''&lt;br /&gt;
|Are you having problems running MTA:SA?.\n\nDo you want to revert to an earlier version?&lt;br /&gt;
&lt;br /&gt;
MTA: San Andreas&lt;br /&gt;
|MTA10\loader\Main.cpp:212&lt;br /&gt;
|-&lt;br /&gt;
|'''CL08'''&lt;br /&gt;
|There seems to be a problem launching MTA:SA.\nResetting GTA settings can sometimes fix this problem.\n\nDo you want to reset GTA settings now?&lt;br /&gt;
&lt;br /&gt;
MTA: San Andreas&lt;br /&gt;
|MTA10\loader\Main.cpp:239&lt;br /&gt;
|-&lt;br /&gt;
|'''CL09'''&lt;br /&gt;
|File could not be deleted: '%s'&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\Main.cpp:253&lt;br /&gt;
|-&lt;br /&gt;
|'''CL10'''&lt;br /&gt;
|An instance of GTA: San Andreas is already running. It needs to be terminated before MTA:SA can be started. Do you want to do that now?&lt;br /&gt;
&lt;br /&gt;
Information&lt;br /&gt;
|MTA10\loader\Main.cpp:392&lt;br /&gt;
|-&lt;br /&gt;
|'''CL11'''&lt;br /&gt;
|Unable to terminate GTA: San Andreas. If the problem persists, please restart your computer.&lt;br /&gt;
&lt;br /&gt;
Information&lt;br /&gt;
|MTA10\loader\Main.cpp:397&lt;br /&gt;
|-&lt;br /&gt;
|'''CL12'''&lt;br /&gt;
|Registry entries are missing. Please reinstall Multi Theft Auto: San Andreas.&lt;br /&gt;
&lt;br /&gt;
reg-entries-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:412&lt;br /&gt;
|-&lt;br /&gt;
|'''CL13'''&lt;br /&gt;
|The path to your installation of GTA: San Andreas contains unsupported (unicode) characters. Please move your Grand Theft Auto: San Andreas installation to a compatible path that contains only standard ASCII characters and reinstall Multi Theft Auto: San Andreas.&lt;br /&gt;
|MTA10\loader\Main.cpp:416&lt;br /&gt;
|-&lt;br /&gt;
|'''CL14'''&lt;br /&gt;
|It appears you have a Steam version of GTA:SA, which is currently incompatible with MTASA.  You are now being redirected to a page where you can find information to resolve this issue.&lt;br /&gt;
|MTA10\loader\Main.cpp:420&lt;br /&gt;
|-&lt;br /&gt;
|'''CL15'''&lt;br /&gt;
| move your installation(s) to a path that does not contain a semicolon.&lt;br /&gt;
|MTA10\loader\Main.cpp:430&lt;br /&gt;
|-&lt;br /&gt;
|'''CL16'''&lt;br /&gt;
|Load failed. Please ensure that the latest data files have been installed correctly.&lt;br /&gt;
&lt;br /&gt;
mta-datafiles-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:462&lt;br /&gt;
|-&lt;br /&gt;
|'''CL17'''&lt;br /&gt;
|Load failed. Please ensure that the latest data files have been installed correctly.&lt;br /&gt;
&lt;br /&gt;
mta-datafiles-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:468&lt;br /&gt;
|-&lt;br /&gt;
|'''CL18'''&lt;br /&gt;
|Load failed. Please ensure that %s is installed correctly.&lt;br /&gt;
&lt;br /&gt;
client-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:474&lt;br /&gt;
|-&lt;br /&gt;
|'''CL19'''&lt;br /&gt;
|Load failed. Please ensure that %s is installed correctly.&lt;br /&gt;
&lt;br /&gt;
lua-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:480&lt;br /&gt;
|-&lt;br /&gt;
|'''CL20'''&lt;br /&gt;
|Load failed. Could not find gta_sa.exe in %s.&lt;br /&gt;
&lt;br /&gt;
gta_sa-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:491&lt;br /&gt;
|-&lt;br /&gt;
|'''CL21'''&lt;br /&gt;
|Load failed. %s exists in the GTA directory. Please delete before continuing.&lt;br /&gt;
&lt;br /&gt;
file-clash&lt;br /&gt;
|MTA10\loader\Main.cpp:500&lt;br /&gt;
|-&lt;br /&gt;
|'''CL22'''&lt;br /&gt;
|contact MTA at www.multitheftauto.com. \n\n[%s]&lt;br /&gt;
&lt;br /&gt;
createprocess-fail;&lt;br /&gt;
&lt;br /&gt;
Could not start GTA:SA&lt;br /&gt;
|MTA10\loader\Main.cpp:570&lt;br /&gt;
|-&lt;br /&gt;
|'''CL23'''&lt;br /&gt;
|directory within the MTA root directory.&lt;br /&gt;
&lt;br /&gt;
core-missing&lt;br /&gt;
&lt;br /&gt;
Core.dll missing&lt;br /&gt;
|MTA10\loader\Main.cpp:53&lt;br /&gt;
|-&lt;br /&gt;
|'''CL24'''&lt;br /&gt;
|and the latest DirectX is correctly installed.&lt;br /&gt;
&lt;br /&gt;
vc-redist-missing&lt;br /&gt;
&lt;br /&gt;
Core.dll load failed.  Ensure VC++ Redists and DX are installed&lt;br /&gt;
|MTA10\loader\Main.cpp:66&lt;br /&gt;
|-&lt;br /&gt;
|'''CL25'''&lt;br /&gt;
|GTA: San Andreas may not have launched correctly. Do you want to terminate it?&lt;br /&gt;
&lt;br /&gt;
Information&lt;br /&gt;
|MTA10\loader\Main.cpp:635&lt;br /&gt;
|-&lt;br /&gt;
|'''CL26'''&lt;br /&gt;
|and the latest DirectX is correctly installed.&lt;br /&gt;
&lt;br /&gt;
vc-redist-missing&lt;br /&gt;
&lt;br /&gt;
Core.dll load failed.  Ensure VC++ Redists and DX are installed&lt;br /&gt;
|MTA10\loader\Main.cpp:86&lt;br /&gt;
|-&lt;br /&gt;
|'''CL27'''&lt;br /&gt;
|MTA: San Andreas&lt;br /&gt;
|MTA10\loader\Utils.cpp:2045&lt;br /&gt;
|-&lt;br /&gt;
|'''U01'''&lt;br /&gt;
|Multi Theft Auto has not been installed properly, please reinstall.&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|Shared\sdk\SharedUtil.Misc.hpp:68&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Error_Codes&amp;diff=45195</id>
		<title>Error Codes</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Error_Codes&amp;diff=45195"/>
		<updated>2015-05-10T14:44:02Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Automatically generated with utils\gen_error_wikitable.py --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: auto; text-align: center; table-layout: fixed;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Error Code&lt;br /&gt;
!Associated strings&lt;br /&gt;
!File:LineNumber&lt;br /&gt;
|-&lt;br /&gt;
|'''CC01'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunity.cpp:130&lt;br /&gt;
|-&lt;br /&gt;
|'''CC02'''&lt;br /&gt;
|Login Error&lt;br /&gt;
&lt;br /&gt;
Invalid username/password&lt;br /&gt;
|MTA10\core\CCommunityLogin.cpp:112&lt;br /&gt;
|-&lt;br /&gt;
|'''CC03'''&lt;br /&gt;
|Login Error&lt;br /&gt;
|MTA10\core\CCommunityLogin.cpp:150&lt;br /&gt;
|-&lt;br /&gt;
|'''CC04'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:198&lt;br /&gt;
|-&lt;br /&gt;
|'''CC05'''&lt;br /&gt;
|Success&lt;br /&gt;
&lt;br /&gt;
Successfully registered!&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:202&lt;br /&gt;
|-&lt;br /&gt;
|'''CC06'''&lt;br /&gt;
|Error&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:212&lt;br /&gt;
|-&lt;br /&gt;
|'''CC07'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Unexpected error&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:214&lt;br /&gt;
|-&lt;br /&gt;
|'''CC08'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:220&lt;br /&gt;
|-&lt;br /&gt;
|'''CC10'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Services currently unavailable&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:226&lt;br /&gt;
|-&lt;br /&gt;
|'''CC11'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Username missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:254&lt;br /&gt;
|-&lt;br /&gt;
|'''CC12'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Email missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:256&lt;br /&gt;
|-&lt;br /&gt;
|'''CC13'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Password missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:258&lt;br /&gt;
|-&lt;br /&gt;
|'''CC14'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Passwords do not match&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:260&lt;br /&gt;
|-&lt;br /&gt;
|'''CC15'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Validation code missing&lt;br /&gt;
|MTA10\core\CCommunityRegistration.cpp:262&lt;br /&gt;
|-&lt;br /&gt;
|'''CC20'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nick provided&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:83&lt;br /&gt;
|-&lt;br /&gt;
|'''CC21'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid host provided&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:111&lt;br /&gt;
|-&lt;br /&gt;
|'''CC22'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Failed to connect&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:123&lt;br /&gt;
|-&lt;br /&gt;
|'''CC23'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connection timed out&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:258&lt;br /&gt;
|-&lt;br /&gt;
|'''CC24'''&lt;br /&gt;
|Disconnected: unknown protocol error&lt;br /&gt;
&lt;br /&gt;
encryption key mismatch&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:272&lt;br /&gt;
|-&lt;br /&gt;
|'''CC25'''&lt;br /&gt;
|Disconnected: disconnected remotely&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:275&lt;br /&gt;
|-&lt;br /&gt;
|'''CC26'''&lt;br /&gt;
|Disconnected: connection lost remotely&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:278&lt;br /&gt;
|-&lt;br /&gt;
|'''CC27'''&lt;br /&gt;
|Disconnected: you are banned from this server&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:281&lt;br /&gt;
|-&lt;br /&gt;
|'''CC28'''&lt;br /&gt;
|Disconnected: disconnected from the server&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:287&lt;br /&gt;
|-&lt;br /&gt;
|'''CC29'''&lt;br /&gt;
|Disconnected: connection to the server was lost&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:290&lt;br /&gt;
|-&lt;br /&gt;
|'''CC30'''&lt;br /&gt;
|Disconnected: connection was refused&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:296&lt;br /&gt;
|-&lt;br /&gt;
|'''CC31'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Mod loading failed&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:400&lt;br /&gt;
|-&lt;br /&gt;
|'''CC32'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Bad server response (2)&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:407&lt;br /&gt;
|-&lt;br /&gt;
|'''CC33'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Bad server response (1)&lt;br /&gt;
|MTA10\core\CConnectManager.cpp:417&lt;br /&gt;
|-&lt;br /&gt;
|'''CC40'''&lt;br /&gt;
|%s module is incorrect!&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\core\CCore.cpp:823&lt;br /&gt;
|-&lt;br /&gt;
|'''CC41'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Error executing URL&lt;br /&gt;
|MTA10\core\CCore.cpp:1134&lt;br /&gt;
|-&lt;br /&gt;
|'''CC42'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Command line Mod load failed&lt;br /&gt;
|MTA10\core\CCore.cpp:1147&lt;br /&gt;
|-&lt;br /&gt;
|'''CC50'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Could not initialize Direct3D9.  Please ensure the DirectX End-User Runtime and latest Windows Service Packs are installed correctly.&lt;br /&gt;
|MTA10\core\CDirect3DHook9.cpp:89&lt;br /&gt;
|-&lt;br /&gt;
|'''CC51'''&lt;br /&gt;
|The skin you selected could not be loaded, and the default skin also could not be loaded, please reinstall MTA.&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\core\CGUI.cpp:87&lt;br /&gt;
|-&lt;br /&gt;
|'''CC60'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No host specified!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:149&lt;br /&gt;
|-&lt;br /&gt;
|'''CC61'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No port specified!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:158&lt;br /&gt;
|-&lt;br /&gt;
|'''CC62'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid port specified!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:163&lt;br /&gt;
|-&lt;br /&gt;
|'''CC63'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\core\CQuickConnect.cpp:172&lt;br /&gt;
|-&lt;br /&gt;
|'''CC70'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No address specified!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1224&lt;br /&gt;
|-&lt;br /&gt;
|'''CC71'''&lt;br /&gt;
|Unknown protocol&lt;br /&gt;
&lt;br /&gt;
Please use the mtasa:// protocol!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1237&lt;br /&gt;
|-&lt;br /&gt;
|'''CC72'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1246&lt;br /&gt;
|-&lt;br /&gt;
|'''CC73'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1304&lt;br /&gt;
|-&lt;br /&gt;
|'''CC74'''&lt;br /&gt;
|Information&lt;br /&gt;
&lt;br /&gt;
You have to select a server to connect to.&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1326&lt;br /&gt;
|-&lt;br /&gt;
|'''CC75'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
No address specified!&lt;br /&gt;
|MTA10\core\CServerBrowser.cpp:1351&lt;br /&gt;
|-&lt;br /&gt;
|'''CC80'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Please disconnect before changing skin&lt;br /&gt;
|MTA10\core\CSettings.cpp:3334&lt;br /&gt;
|-&lt;br /&gt;
|'''CC81'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Your nickname contains invalid characters!&lt;br /&gt;
|MTA10\core\CSettings.cpp:3619&lt;br /&gt;
|-&lt;br /&gt;
|'''CD01'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:535&lt;br /&gt;
|-&lt;br /&gt;
|'''CD02'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Not connected; please use Quick Connect or the 'connect' command to connect to a server.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:610&lt;br /&gt;
|-&lt;br /&gt;
|'''CD03'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Invalid nickname! Please go to Settings and set a new one!&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:635&lt;br /&gt;
|-&lt;br /&gt;
|'''CD04'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
The server is not installed&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:661&lt;br /&gt;
|-&lt;br /&gt;
|'''CD05'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
You were kicked from the game ( %s )&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1005&lt;br /&gt;
|-&lt;br /&gt;
|'''CD06'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Error connecting to server.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1084&lt;br /&gt;
|-&lt;br /&gt;
|'''CD07'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connecting to local server timed out. See console for details.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1094&lt;br /&gt;
|-&lt;br /&gt;
|'''CD08'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connection timed out&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1163&lt;br /&gt;
|-&lt;br /&gt;
|'''CD09'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Connection with the server was lost&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1197&lt;br /&gt;
|-&lt;br /&gt;
|'''CD10'''&lt;br /&gt;
|Disconnected: unknown protocol error&lt;br /&gt;
&lt;br /&gt;
encryption key mismatch&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1209&lt;br /&gt;
|-&lt;br /&gt;
|'''CD11'''&lt;br /&gt;
|Disconnected: disconnected remotely&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1212&lt;br /&gt;
|-&lt;br /&gt;
|'''CD12'''&lt;br /&gt;
|Disconnected: connection lost remotely&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1215&lt;br /&gt;
|-&lt;br /&gt;
|'''CD13'''&lt;br /&gt;
|Disconnected: you are banned from this server&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1218&lt;br /&gt;
|-&lt;br /&gt;
|'''CD14'''&lt;br /&gt;
|Disconnected: the server is currently full&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1221&lt;br /&gt;
|-&lt;br /&gt;
|'''CD15'''&lt;br /&gt;
|Disconnected: disconnected from the server&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1224&lt;br /&gt;
|-&lt;br /&gt;
|'''CD16'''&lt;br /&gt;
|Disconnected: connection to the server was lost&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1227&lt;br /&gt;
|-&lt;br /&gt;
|'''CD17'''&lt;br /&gt;
|Disconnected: invalid password specified&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1230&lt;br /&gt;
|-&lt;br /&gt;
|'''CD18'''&lt;br /&gt;
|Disconnected: connection was refused&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1233&lt;br /&gt;
|-&lt;br /&gt;
|'''CD19'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
MTA Client verification failed!&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:1251&lt;br /&gt;
|-&lt;br /&gt;
|'''CD20'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
HTTP Error&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:3980&lt;br /&gt;
|-&lt;br /&gt;
|'''CD30'''&lt;br /&gt;
|Disconnected: Invalid nickname&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:548&lt;br /&gt;
|-&lt;br /&gt;
|'''CD31'''&lt;br /&gt;
|Disconnect from server&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:551&lt;br /&gt;
|-&lt;br /&gt;
|'''CD32'''&lt;br /&gt;
|Disconnected: Serial is banned.\nReason: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:554&lt;br /&gt;
|-&lt;br /&gt;
|'''CD33'''&lt;br /&gt;
|Disconnected: You are banned.\nReason: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:558&lt;br /&gt;
|-&lt;br /&gt;
|'''CD34'''&lt;br /&gt;
|Disconnected: Account is banned.\nReason: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:561&lt;br /&gt;
|-&lt;br /&gt;
|'''CD35'''&lt;br /&gt;
|Disconnected: Version mismatch&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:564&lt;br /&gt;
|-&lt;br /&gt;
|'''CD36'''&lt;br /&gt;
|Disconnected: Join flood. Please wait a minute, then reconnect.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:567&lt;br /&gt;
|-&lt;br /&gt;
|'''CD37'''&lt;br /&gt;
|Disconnected: Server from different branch.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:570&lt;br /&gt;
|-&lt;br /&gt;
|'''CD38'''&lt;br /&gt;
|Disconnected: Bad version.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:573&lt;br /&gt;
|-&lt;br /&gt;
|'''CD39'''&lt;br /&gt;
|Disconnected: Server is running a newer build.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:576&lt;br /&gt;
|-&lt;br /&gt;
|'''CD40'''&lt;br /&gt;
|Disconnected: Server is running an older build.\nInformation: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:579&lt;br /&gt;
|-&lt;br /&gt;
|'''CD41'''&lt;br /&gt;
|Disconnected: Nick already in use&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:582&lt;br /&gt;
|-&lt;br /&gt;
|'''CD42'''&lt;br /&gt;
|Disconnected: Player Element Could not be created.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:585&lt;br /&gt;
|-&lt;br /&gt;
|'''CD43'''&lt;br /&gt;
|Disconnected: Server refused the connection: %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:588&lt;br /&gt;
|-&lt;br /&gt;
|'''CD44'''&lt;br /&gt;
|Disconnected: Serial verification failed&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:591&lt;br /&gt;
|-&lt;br /&gt;
|'''CD45'''&lt;br /&gt;
|Disconnected: Connection desync %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:594&lt;br /&gt;
|-&lt;br /&gt;
|'''CD46'''&lt;br /&gt;
|Disconnected: You were kicked by %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:601&lt;br /&gt;
|-&lt;br /&gt;
|'''CD47'''&lt;br /&gt;
|Disconnected: You were banned by %s&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:604&lt;br /&gt;
|-&lt;br /&gt;
|'''CD48'''&lt;br /&gt;
|%s&lt;br /&gt;
&lt;br /&gt;
Custom disconnect reason&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CPacketHandler.cpp:608&lt;br /&gt;
|-&lt;br /&gt;
|'''CD49'''&lt;br /&gt;
|Disconnected: Server shutdown or restarting&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CClientGame.cpp:562&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|'''CD60'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Could not start the local server. See console for details.&lt;br /&gt;
|MTA10\mods\deathmatch\logic\CServer.cpp:194&lt;br /&gt;
|-&lt;br /&gt;
|'''CD61'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
DoDisconnectRemote&lt;br /&gt;
|Shared\mods\deathmatch\logic\CLatentTransferManager.cpp:374&lt;br /&gt;
|-&lt;br /&gt;
|'''CD62'''&lt;br /&gt;
|Fatal error&lt;br /&gt;
|MTA10\mods\shared_logic\Utils.cpp:167&lt;br /&gt;
|-&lt;br /&gt;
|'''CD63'''&lt;br /&gt;
|Connection error&lt;br /&gt;
&lt;br /&gt;
Protocol error&lt;br /&gt;
|MTA10\mods\shared_logic\Utils.cpp:182&lt;br /&gt;
|-&lt;br /&gt;
|'''CD64'''&lt;br /&gt;
|This version has expired.&lt;br /&gt;
&lt;br /&gt;
MTA: San Andreas &lt;br /&gt;
|MTA10\mods\deathmatch\CClient.cpp:41&lt;br /&gt;
|-&lt;br /&gt;
|'''CL01'''&lt;br /&gt;
|MTA:SA could not complete the following task:\n\n  '%s'\n&lt;br /&gt;
&lt;br /&gt;
Multi Theft Auto: San Andreas&lt;br /&gt;
|MTA10\loader\CInstallManager.cpp:339&lt;br /&gt;
|-&lt;br /&gt;
|'''CL02'''&lt;br /&gt;
|Could not update due to file conflicts. Please close other applications and retry&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\CInstallManager.cpp:513&lt;br /&gt;
|-&lt;br /&gt;
|'''CL03'''&lt;br /&gt;
|Multi Theft Auto has not been installed properly, please reinstall. %s&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\CInstallManager.cpp:522&lt;br /&gt;
|-&lt;br /&gt;
|'''CL04'''&lt;br /&gt;
|Error&lt;br /&gt;
&lt;br /&gt;
Trouble restarting MTA:SA&lt;br /&gt;
|MTA10\loader\Main.cpp:159&lt;br /&gt;
|-&lt;br /&gt;
|'''CL05'''&lt;br /&gt;
|Another instance of MTA is already running.\n\nIf this problem persists, please restart your computer&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\Main.cpp:172&lt;br /&gt;
|-&lt;br /&gt;
|'''CL06'''&lt;br /&gt;
|Another instance of MTA is already running.\n\nDo you want to terminate it?&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\Main.cpp:175&lt;br /&gt;
|-&lt;br /&gt;
|'''CL07'''&lt;br /&gt;
|Are you having problems running MTA:SA?.\n\nDo you want to revert to an earlier version?&lt;br /&gt;
&lt;br /&gt;
MTA: San Andreas&lt;br /&gt;
|MTA10\loader\Main.cpp:212&lt;br /&gt;
|-&lt;br /&gt;
|'''CL08'''&lt;br /&gt;
|There seems to be a problem launching MTA:SA.\nResetting GTA settings can sometimes fix this problem.\n\nDo you want to reset GTA settings now?&lt;br /&gt;
&lt;br /&gt;
MTA: San Andreas&lt;br /&gt;
|MTA10\loader\Main.cpp:239&lt;br /&gt;
|-&lt;br /&gt;
|'''CL09'''&lt;br /&gt;
|File could not be deleted: '%s'&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|MTA10\loader\Main.cpp:253&lt;br /&gt;
|-&lt;br /&gt;
|'''CL10'''&lt;br /&gt;
|An instance of GTA: San Andreas is already running. It needs to be terminated before MTA:SA can be started. Do you want to do that now?&lt;br /&gt;
&lt;br /&gt;
Information&lt;br /&gt;
|MTA10\loader\Main.cpp:392&lt;br /&gt;
|-&lt;br /&gt;
|'''CL11'''&lt;br /&gt;
|Unable to terminate GTA: San Andreas. If the problem persists, please restart your computer.&lt;br /&gt;
&lt;br /&gt;
Information&lt;br /&gt;
|MTA10\loader\Main.cpp:397&lt;br /&gt;
|-&lt;br /&gt;
|'''CL12'''&lt;br /&gt;
|Registry entries are missing. Please reinstall Multi Theft Auto: San Andreas.&lt;br /&gt;
&lt;br /&gt;
reg-entries-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:412&lt;br /&gt;
|-&lt;br /&gt;
|'''CL13'''&lt;br /&gt;
|The path to your installation of GTA: San Andreas contains unsupported (unicode) characters. Please move your Grand Theft Auto: San Andreas installation to a compatible path that contains only standard ASCII characters and reinstall Multi Theft Auto: San Andreas.&lt;br /&gt;
|MTA10\loader\Main.cpp:416&lt;br /&gt;
|-&lt;br /&gt;
|'''CL14'''&lt;br /&gt;
|It appears you have a Steam version of GTA:SA, which is currently incompatible with MTASA.  You are now being redirected to a page where you can find information to resolve this issue.&lt;br /&gt;
|MTA10\loader\Main.cpp:420&lt;br /&gt;
|-&lt;br /&gt;
|'''CL15'''&lt;br /&gt;
| move your installation(s) to a path that does not contain a semicolon.&lt;br /&gt;
|MTA10\loader\Main.cpp:430&lt;br /&gt;
|-&lt;br /&gt;
|'''CL16'''&lt;br /&gt;
|Load failed. Please ensure that the latest data files have been installed correctly.&lt;br /&gt;
&lt;br /&gt;
mta-datafiles-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:462&lt;br /&gt;
|-&lt;br /&gt;
|'''CL17'''&lt;br /&gt;
|Load failed. Please ensure that the latest data files have been installed correctly.&lt;br /&gt;
&lt;br /&gt;
mta-datafiles-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:468&lt;br /&gt;
|-&lt;br /&gt;
|'''CL18'''&lt;br /&gt;
|Load failed. Please ensure that %s is installed correctly.&lt;br /&gt;
&lt;br /&gt;
client-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:474&lt;br /&gt;
|-&lt;br /&gt;
|'''CL19'''&lt;br /&gt;
|Load failed. Please ensure that %s is installed correctly.&lt;br /&gt;
&lt;br /&gt;
lua-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:480&lt;br /&gt;
|-&lt;br /&gt;
|'''CL20'''&lt;br /&gt;
|Load failed. Could not find gta_sa.exe in %s.&lt;br /&gt;
&lt;br /&gt;
gta_sa-missing&lt;br /&gt;
|MTA10\loader\Main.cpp:491&lt;br /&gt;
|-&lt;br /&gt;
|'''CL21'''&lt;br /&gt;
|Load failed. %s exists in the GTA directory. Please delete before continuing.&lt;br /&gt;
&lt;br /&gt;
file-clash&lt;br /&gt;
|MTA10\loader\Main.cpp:500&lt;br /&gt;
|-&lt;br /&gt;
|'''CL22'''&lt;br /&gt;
|contact MTA at www.multitheftauto.com. \n\n[%s]&lt;br /&gt;
&lt;br /&gt;
createprocess-fail;&lt;br /&gt;
&lt;br /&gt;
Could not start GTA:SA&lt;br /&gt;
|MTA10\loader\Main.cpp:570&lt;br /&gt;
|-&lt;br /&gt;
|'''CL23'''&lt;br /&gt;
|directory within the MTA root directory.&lt;br /&gt;
&lt;br /&gt;
core-missing&lt;br /&gt;
&lt;br /&gt;
Core.dll missing&lt;br /&gt;
|MTA10\loader\Main.cpp:53&lt;br /&gt;
|-&lt;br /&gt;
|'''CL24'''&lt;br /&gt;
|and the latest DirectX is correctly installed.&lt;br /&gt;
&lt;br /&gt;
vc-redist-missing&lt;br /&gt;
&lt;br /&gt;
Core.dll load failed.  Ensure VC++ Redists and DX are installed&lt;br /&gt;
|MTA10\loader\Main.cpp:66&lt;br /&gt;
|-&lt;br /&gt;
|'''CL25'''&lt;br /&gt;
|GTA: San Andreas may not have launched correctly. Do you want to terminate it?&lt;br /&gt;
&lt;br /&gt;
Information&lt;br /&gt;
|MTA10\loader\Main.cpp:635&lt;br /&gt;
|-&lt;br /&gt;
|'''CL26'''&lt;br /&gt;
|and the latest DirectX is correctly installed.&lt;br /&gt;
&lt;br /&gt;
vc-redist-missing&lt;br /&gt;
&lt;br /&gt;
Core.dll load failed.  Ensure VC++ Redists and DX are installed&lt;br /&gt;
|MTA10\loader\Main.cpp:86&lt;br /&gt;
|-&lt;br /&gt;
|'''CL27'''&lt;br /&gt;
|MTA: San Andreas&lt;br /&gt;
|MTA10\loader\Utils.cpp:2045&lt;br /&gt;
|-&lt;br /&gt;
|'''U01'''&lt;br /&gt;
|Multi Theft Auto has not been installed properly, please reinstall.&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
|Shared\sdk\SharedUtil.Misc.hpp:68&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Math.percent&amp;diff=45184</id>
		<title>Math.percent</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Math.percent&amp;diff=45184"/>
		<updated>2015-05-05T15:20:31Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function returns a percentage of a specific value.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;float math.percent(float percent, float maxvalue)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''percent''': The percent you want to get.&lt;br /&gt;
* '''maxvalue''': The max value you want to get the percentage of.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Serverside script&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;
function math.percent(percent,maxvalue)&lt;br /&gt;
    if tonumber(percent) and tonumber(maxvalue) then&lt;br /&gt;
        local x = (maxvalue*percent)/100&lt;br /&gt;
        return x&lt;br /&gt;
    end&lt;br /&gt;
    return false&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example returns 10% of 100.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local n = math.percent(10,100)&lt;br /&gt;
print(n)&lt;br /&gt;
-- result will be 10, because 10% of 100 is 10.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Author: manawydan&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleHandling&amp;diff=45183</id>
		<title>SetVehicleHandling</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleHandling&amp;diff=45183"/>
		<updated>2015-05-05T15:06:23Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}} &lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function is used to change the handling data of 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 setVehicleHandling ( element theVehicle, string property, var value ) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Syntaxes for reset configurations:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, string property, nil, false )  -- Reset one property to model handling value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, string property, nil, true )   -- Reset one property to GTA default value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, false )  -- Reset all properties to model handling value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, true )   -- Reset all properties to GTA default value&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 set the handling of.&lt;br /&gt;
*'''property:''' The property you wish to set the handling of the vehicle to.&lt;br /&gt;
{{Handling Properties}}&lt;br /&gt;
*'''value:''' The value of the property you wish to set the handling of the vehicle to.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the handling was set successfully, ''false'' otherwise. See below a list of valid propertys and their required values:&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
for functionality reasons suspension modification is disabled on monster trucks, trains, boats and trailers.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example will make Infernus handling very fast and also make it damage proof from collision (handling by Mr.unpredictable).&lt;br /&gt;
this example will help you in creating your own vehicle Handling.&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;
function vhandling ( )&lt;br /&gt;
   for _,v in pairs(getElementsByType(&amp;quot;vehicle&amp;quot;)) do&lt;br /&gt;
      if getElementModel(v) == 411 then -------------- vehicle Id&lt;br /&gt;
        setVehicleHandling (v, &amp;quot;mass&amp;quot;, 300.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;turnMass&amp;quot;, 200)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;dragCoeff&amp;quot;, 4.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;centerOfMass&amp;quot;, { 0.0,0.08,-0.09 } )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;percentSubmerged&amp;quot;, 103)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionMultiplier&amp;quot;, 1.8)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionLoss&amp;quot;, 1.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionBias&amp;quot;, 0.48)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;numberOfGears&amp;quot;, 5)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;maxVelocity&amp;quot;, 300.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineAcceleration&amp;quot;, 90.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineInertia&amp;quot;, 5.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;driveType&amp;quot;, &amp;quot;rwd&amp;quot;)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineType&amp;quot;, &amp;quot;petrol&amp;quot;)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;brakeDeceleration&amp;quot;, 20.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;brakeBias&amp;quot;, 0.60)&lt;br /&gt;
        -----abs----&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;steeringLock&amp;quot;,  35.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionForceLevel&amp;quot;, 0.85)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionDamping&amp;quot;, 0.15 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionHighSpeedDamping&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionUpperLimit&amp;quot;, 0.15 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionLowerLimit&amp;quot;, -0.16)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionFrontRearBias&amp;quot;, 0.5 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionAntiDiveMultiplier&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;seatOffsetDistance&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;collisionDamageMultiplier&amp;quot;, 0.00)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;monetary&amp;quot;,  10000)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;modelFlags&amp;quot;, 1002000)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;handlingFlags&amp;quot;, 1000002)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;headLight&amp;quot;, 3)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tailLight&amp;quot;, 2)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;animGroup&amp;quot;, 4)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerVehicleEnter&amp;quot;, getRootElement(), vhandling )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example will add a command for players with which they can change the mass of the vehicle.&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;
function massChange ( me, command, mass )&lt;br /&gt;
    mass = tonumber ( mass ) -- Convert mass to a number&lt;br /&gt;
    local veh = getPedOccupiedVehicle ( me ) -- Get the player's vehicle&lt;br /&gt;
    &lt;br /&gt;
    if mass and veh then  -- If valid mass and in a vehicle&lt;br /&gt;
        local success = setVehicleHandling ( veh, &amp;quot;mass&amp;quot;, mass ) -- Set the vehicle's mass, and check if successful&lt;br /&gt;
        &lt;br /&gt;
        if success then -- If successful&lt;br /&gt;
            outputChatBox ( &amp;quot;Your vehicle's mass has been changed to: &amp;quot;..mass..&amp;quot; kg&amp;quot;, me, 0, 255, 0 ) -- Notify the player of success&lt;br /&gt;
        else -- Too bad failure is still an option&lt;br /&gt;
            outputChatBox ( &amp;quot;Setting mass failed. It's probably above or below allowed limits&amp;quot;, me, 255, 0, 0 ) -- Notify the player of failure, and give a possible reason&lt;br /&gt;
        end&lt;br /&gt;
    elseif not veh then -- If not in a vehicle&lt;br /&gt;
        outputChatBox ( &amp;quot;You're not in a vehicle&amp;quot;, me, 255, 0, 0 ) -- Tell the player; He / she obviously doesn't know&lt;br /&gt;
    elseif not mass then -- If not a valid mass&lt;br /&gt;
        outputChatBox ( &amp;quot;Syntax: /changemass [mass]&amp;quot;, me, 255, 0, 0 ) -- Tell the player the proper syntax&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;changemass&amp;quot;, massChange )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See other vehicle functions==&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleHandling&amp;diff=45182</id>
		<title>SetVehicleHandling</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleHandling&amp;diff=45182"/>
		<updated>2015-05-05T15:06:07Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}} &lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function is used to change the handling data of 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 setVehicleHandling ( element theVehicle, string property, var value ) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Syntaxes for reset configurations:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, string property, nil, false )  -- Reset one property to model handling value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, string property, nil, true )   -- Reset one property to GTA default value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, false )  -- Reset all properties to model handling value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, true )   -- Reset all properties to GTA default value&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 set the handling of.&lt;br /&gt;
*'''property:''' The property you wish to set the handling of the vehicle to.&lt;br /&gt;
{{Handling Properties}}&lt;br /&gt;
*'''value:''' The value of the property you wish to set the handling of the vehicle to.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the handling was set successfully, ''false'' otherwise. See below a list of valid propertys and their required values:&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
for functionality reasons suspension modification is disabled on monster trucks, trains, boats and trailers.&lt;br /&gt;
This example will make Infernus handling very fast and also make it damage proof from collision (handling by Mr.unpredictable).&lt;br /&gt;
this example will help you in creating your own vehicle Handling.&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;
function vhandling ( )&lt;br /&gt;
   for _,v in pairs(getElementsByType(&amp;quot;vehicle&amp;quot;)) do&lt;br /&gt;
      if getElementModel(v) == 411 then -------------- vehicle Id&lt;br /&gt;
        setVehicleHandling (v, &amp;quot;mass&amp;quot;, 300.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;turnMass&amp;quot;, 200)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;dragCoeff&amp;quot;, 4.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;centerOfMass&amp;quot;, { 0.0,0.08,-0.09 } )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;percentSubmerged&amp;quot;, 103)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionMultiplier&amp;quot;, 1.8)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionLoss&amp;quot;, 1.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionBias&amp;quot;, 0.48)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;numberOfGears&amp;quot;, 5)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;maxVelocity&amp;quot;, 300.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineAcceleration&amp;quot;, 90.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineInertia&amp;quot;, 5.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;driveType&amp;quot;, &amp;quot;rwd&amp;quot;)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineType&amp;quot;, &amp;quot;petrol&amp;quot;)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;brakeDeceleration&amp;quot;, 20.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;brakeBias&amp;quot;, 0.60)&lt;br /&gt;
        -----abs----&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;steeringLock&amp;quot;,  35.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionForceLevel&amp;quot;, 0.85)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionDamping&amp;quot;, 0.15 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionHighSpeedDamping&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionUpperLimit&amp;quot;, 0.15 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionLowerLimit&amp;quot;, -0.16)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionFrontRearBias&amp;quot;, 0.5 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionAntiDiveMultiplier&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;seatOffsetDistance&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;collisionDamageMultiplier&amp;quot;, 0.00)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;monetary&amp;quot;,  10000)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;modelFlags&amp;quot;, 1002000)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;handlingFlags&amp;quot;, 1000002)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;headLight&amp;quot;, 3)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tailLight&amp;quot;, 2)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;animGroup&amp;quot;, 4)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerVehicleEnter&amp;quot;, getRootElement(), vhandling )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example will add a command for players with which they can change the mass of the vehicle.&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;
function massChange ( me, command, mass )&lt;br /&gt;
    mass = tonumber ( mass ) -- Convert mass to a number&lt;br /&gt;
    local veh = getPedOccupiedVehicle ( me ) -- Get the player's vehicle&lt;br /&gt;
    &lt;br /&gt;
    if mass and veh then  -- If valid mass and in a vehicle&lt;br /&gt;
        local success = setVehicleHandling ( veh, &amp;quot;mass&amp;quot;, mass ) -- Set the vehicle's mass, and check if successful&lt;br /&gt;
        &lt;br /&gt;
        if success then -- If successful&lt;br /&gt;
            outputChatBox ( &amp;quot;Your vehicle's mass has been changed to: &amp;quot;..mass..&amp;quot; kg&amp;quot;, me, 0, 255, 0 ) -- Notify the player of success&lt;br /&gt;
        else -- Too bad failure is still an option&lt;br /&gt;
            outputChatBox ( &amp;quot;Setting mass failed. It's probably above or below allowed limits&amp;quot;, me, 255, 0, 0 ) -- Notify the player of failure, and give a possible reason&lt;br /&gt;
        end&lt;br /&gt;
    elseif not veh then -- If not in a vehicle&lt;br /&gt;
        outputChatBox ( &amp;quot;You're not in a vehicle&amp;quot;, me, 255, 0, 0 ) -- Tell the player; He / she obviously doesn't know&lt;br /&gt;
    elseif not mass then -- If not a valid mass&lt;br /&gt;
        outputChatBox ( &amp;quot;Syntax: /changemass [mass]&amp;quot;, me, 255, 0, 0 ) -- Tell the player the proper syntax&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;changemass&amp;quot;, massChange )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See other vehicle functions==&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetVehicleHandling&amp;diff=45181</id>
		<title>SetVehicleHandling</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetVehicleHandling&amp;diff=45181"/>
		<updated>2015-05-05T15:05:23Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}} &lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This function is used to change the handling data of 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 setVehicleHandling ( element theVehicle, string property, var value ) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Syntaxes for reset configurations:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, string property, nil, false )  -- Reset one property to model handling value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, string property, nil, true )   -- Reset one property to GTA default value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, false )  -- Reset all properties to model handling value&lt;br /&gt;
bool setVehicleHandling ( element theVehicle, true )   -- Reset all properties to GTA default value&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 set the handling of.&lt;br /&gt;
*'''property:''' The property you wish to set the handling of the vehicle to.&lt;br /&gt;
{{Handling Properties}}&lt;br /&gt;
*'''value:''' The value of the property you wish to set the handling of the vehicle to.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the handling was set successfully, ''false'' otherwise. See below a list of valid propertys and their required values:&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
for functionality reasons suspension modification is disabled on monster trucks, trains, boats and trailers.&lt;br /&gt;
This example will make Infernus handling very fast and also make it damage proof from collision (handling by Mr.unpredictable).&lt;br /&gt;
this example will help you in creating your own vehicle Handling.&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;
function vhandling ( )&lt;br /&gt;
   for _,v in pairs(getElementsByType(&amp;quot;vehicle&amp;quot;)) do&lt;br /&gt;
      if getElementModel(v) == 411 then -------------- vehicle Id&lt;br /&gt;
        setVehicleHandling (v, &amp;quot;mass&amp;quot;, 300.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;turnMass&amp;quot;, 200)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;dragCoeff&amp;quot;, 4.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;centerOfMass&amp;quot;, { 0.0,0.08,-0.09 } )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;percentSubmerged&amp;quot;, 103)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionMultiplier&amp;quot;, 1.8)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionLoss&amp;quot;, 1.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tractionBias&amp;quot;, 0.48)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;numberOfGears&amp;quot;, 5)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;maxVelocity&amp;quot;, 300.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineAcceleration&amp;quot;, 90.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineInertia&amp;quot;, 5.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;driveType&amp;quot;, &amp;quot;rwd&amp;quot;)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;engineType&amp;quot;, &amp;quot;petrol&amp;quot;)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;brakeDeceleration&amp;quot;, 20.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;brakeBias&amp;quot;, 0.60)&lt;br /&gt;
        -----abs----&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;steeringLock&amp;quot;,  35.0 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionForceLevel&amp;quot;, 0.85)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionDamping&amp;quot;, 0.15 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionHighSpeedDamping&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionUpperLimit&amp;quot;, 0.15 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionLowerLimit&amp;quot;, -0.16)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionFrontRearBias&amp;quot;, 0.5 )&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;suspensionAntiDiveMultiplier&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;seatOffsetDistance&amp;quot;, 0.0)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;collisionDamageMultiplier&amp;quot;, 0.00)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;monetary&amp;quot;,  10000)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;modelFlags&amp;quot;, 1002000)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;handlingFlags&amp;quot;, 1000002)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;headLight&amp;quot;, 3)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;tailLight&amp;quot;, 2)&lt;br /&gt;
        setVehicleHandling(v, &amp;quot;animGroup&amp;quot;, 4)&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerVehicleEnter&amp;quot;, getRootElement(), vhandling )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example will add a command for players with which they can change the mass of the vehicle.&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;
function massChange ( me, command, mass )&lt;br /&gt;
    mass = tonumber ( mass ) -- Convert mass to a number&lt;br /&gt;
    local veh = getPedOccupiedVehicle ( me ) -- Get the player's vehicle&lt;br /&gt;
    &lt;br /&gt;
    if mass and veh then  -- If valid mass and in a vehicle&lt;br /&gt;
        local success = setVehicleHandling ( veh, &amp;quot;mass&amp;quot;, mass ) -- Set the vehicle's mass, and check if successful&lt;br /&gt;
        &lt;br /&gt;
        if success then -- If successful&lt;br /&gt;
            outputChatBox ( &amp;quot;Your vehicle's mass has been changed to: &amp;quot;..mass..&amp;quot; kg&amp;quot;, me, 0, 255, 0 ) -- Notify the player of success&lt;br /&gt;
        else -- Too bad failure is still an option&lt;br /&gt;
            outputChatBox ( &amp;quot;Setting mass failed. It's probably above or below allowed limits&amp;quot;, me, 255, 0, 0 ) -- Notify the player of failure, and give a possible reason&lt;br /&gt;
        end&lt;br /&gt;
    elseif not veh then -- If not in a vehicle&lt;br /&gt;
        outputChatBox ( &amp;quot;You're not in a vehicle&amp;quot;, me, 255, 0, 0 ) -- Tell the player; He / she obviously doesn't know&lt;br /&gt;
    elseif not mass then -- If not a valid mass&lt;br /&gt;
        outputChatBox ( &amp;quot;Syntax: /changemass [mass]&amp;quot;, me, 255, 0, 0 ) -- Tell the player the proper syntax&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;changemass&amp;quot;, massChange )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See other vehicle functions==&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiLabelSetHorizontalAlign&amp;diff=45180</id>
		<title>GuiLabelSetHorizontalAlign</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiLabelSetHorizontalAlign&amp;diff=45180"/>
		<updated>2015-05-05T05:32:23Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function sets the horizontal alignment of a text label.&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 guiLabelSetHorizontalAlign ( element theLabel, string align, [ bool wordwrap = false ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLabel:''' The text label to set the horizontal alignment on.&lt;br /&gt;
*'''align:''' The alignment type. Valid type strings are:&lt;br /&gt;
**&amp;quot;left&amp;quot;&lt;br /&gt;
**&amp;quot;center&amp;quot;&lt;br /&gt;
**&amp;quot;right&amp;quot;&lt;br /&gt;
*'''wordwrap:''' Whether or not to enable wordwrap for the gui-label.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' on success, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;TODO&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See Also==&lt;br /&gt;
{{GUI functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiGridListSetColumnTitle&amp;diff=45179</id>
		<title>GuiGridListSetColumnTitle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiGridListSetColumnTitle&amp;diff=45179"/>
		<updated>2015-05-05T05:27:07Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
This function is used to change the column title of a gridlist column.&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 guiGridListSetColumnTitle( element guiGridlist, int columnIndex, string title )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiGridlist''': The grid list you want to change the column title from&lt;br /&gt;
*'''columnIndex''': Column ID&lt;br /&gt;
*'''title''': The title of the column&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the new title was set, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.1-9.04949.0}}&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_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiGridListGetColumnTitle&amp;diff=45178</id>
		<title>GuiGridListGetColumnTitle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiGridListGetColumnTitle&amp;diff=45178"/>
		<updated>2015-05-05T05:25:42Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
This function is used to get the column title of a gridlist column.&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 guiGridListGetColumnTitle( element guiGridlist, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiGridlist''': The grid list you want to get the column title from&lt;br /&gt;
*'''columnIndex''': Column ID&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string containing the column title, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.1-9.04949.0}}&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_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BitNot&amp;diff=45173</id>
		<title>BitNot</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BitNot&amp;diff=45173"/>
		<updated>2015-05-04T20:06:34Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{New feature/item|3.0132|1.3.2|5340|&lt;br /&gt;
This function performs a bitwise NOT on an (unsigned) 32-bit [[Int|integer]]. See [http://en.wikipedia.org/wiki/Bitwise_operation#NOT Bitwise operation] for more details.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
uint bitNot ( uint var )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''var:''' The value you want to perform a bitwise NOT on&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the value on which the operation has been performed.&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;
--In this example we make a command which you can do a bitNot operator&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function bitnot(thePlayer,cmd,value)&lt;br /&gt;
&lt;br /&gt;
    outputChatBox(bitNot(value),thePlayer)&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;bitnot&amp;quot;,bitnotFunc)&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;
{{Bit_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiGridListSetVerticalScrollPosition&amp;diff=45172</id>
		<title>GuiGridListSetVerticalScrollPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiGridListSetVerticalScrollPosition&amp;diff=45172"/>
		<updated>2015-05-04T19:50:34Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
This function is used to set the vertical scroll position from a grid list&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 guiGridListSetVerticalScrollPosition( element guiGridlist, float fPosition )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiGridlist''': The grid list you want to set the vertical scroll position from&lt;br /&gt;
*'''fPosition''': A float representing the vertical scroll position (0-100)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the vertical scroll position was set, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.2}}&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_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiGridListGetVerticalScrollPosition&amp;diff=45171</id>
		<title>GuiGridListGetVerticalScrollPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiGridListGetVerticalScrollPosition&amp;diff=45171"/>
		<updated>2015-05-04T19:49:33Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
This function is used to get the vertical scroll position from a grid list&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float guiGridListGetVerticalScrollPosition( element guiGridlist )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiGridlist''': The grid list you want to get the vertical scroll position from&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a float indicating the vertical scroll position, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.2}}&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_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GuiGridListGetHorizontalScrollPosition&amp;diff=45170</id>
		<title>GuiGridListGetHorizontalScrollPosition</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GuiGridListGetHorizontalScrollPosition&amp;diff=45170"/>
		<updated>2015-05-04T19:46:52Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{client function}}&lt;br /&gt;
{{Needs_Example}}&lt;br /&gt;
This function is used to get the horizontal scroll position from a grid list&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float guiGridListGetHorizontalScrollPosition( element guiGridlist )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''guiGridlist''': The grid list you want to get the horizontal scroll position from&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a float indicating the horizontal scroll position, or ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.2}}&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_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetWeaponState&amp;diff=45169</id>
		<title>SetWeaponState</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetWeaponState&amp;diff=45169"/>
		<updated>2015-05-04T19:39:24Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function sets a [[Element/Weapon|custom weapon]]'s state.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setWeaponState ( weapon theWeapon, string theState )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[Element/Weapon|weapon]]:setState|state|getWeaponState}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theWeapon''': the weapon you wish to set the state of.&lt;br /&gt;
* '''theState''': the state you wish to set:&lt;br /&gt;
** '''reloading''': makes the weapon reload.&lt;br /&gt;
** '''firing''': makes the weapon constantly fire its target (unless any shooting blocking flags are set) according to its assigned firing rate.&lt;br /&gt;
** '''ready''': makes the weapon stop reloading or firing.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' on success, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;addEventHandler(&amp;quot;onClientResourceStart&amp;quot;, resourceRoot,&lt;br /&gt;
      function()&lt;br /&gt;
            local wep = createWeapon(&amp;quot;m4&amp;quot;, 0, 0, 4)&lt;br /&gt;
            setWeaponState(wep, &amp;quot;firing&amp;quot;)&lt;br /&gt;
      end&lt;br /&gt;
)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.3.0-9.04555|}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client weapon creation functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetLightRadius&amp;diff=45168</id>
		<title>GetLightRadius</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetLightRadius&amp;diff=45168"/>
		<updated>2015-05-04T19:36:49Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0150|1.5.0|7048|&lt;br /&gt;
This function returns the radius for a [[Element/Light|light]] element.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float getLightRadius ( light theLight )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:getRadius|radius|setLightRadius}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to retrieve the radius of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns a [[float]] containing the radius of the specified light, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
local light = createLight(0, 0, 0, 4)&lt;br /&gt;
outputChatBox(&amp;quot;light radius: &amp;quot; .. getLightRadius(light))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetLightColor&amp;diff=45167</id>
		<title>GetLightColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetLightColor&amp;diff=45167"/>
		<updated>2015-05-04T19:36:02Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0150|1.5.0|7048|&lt;br /&gt;
This function returns the color for a [[Element/Light|light]] element.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int, int, int getLightColor ( light theLight )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:getColor|color|setLightColor}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to retrieve the color of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns three [[int]]s corresponding to the amount of red, green and blue (respectively) of the light, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
local light = createLight(0, 0, 0, 4)&lt;br /&gt;
local red, green, blue = getLightColor(light)&lt;br /&gt;
outputChatBox(&amp;quot; light color is &amp;quot; .. red .. &amp;quot;, &amp;quot; .. green .. &amp;quot;, &amp;quot; .. blue)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateSWATRope&amp;diff=45166</id>
		<title>CreateSWATRope</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateSWATRope&amp;diff=45166"/>
		<updated>2015-05-04T19:34:44Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
Creates a SWAT rope like that of the rope in single player used by SWAT Teams abseiling from the Police Maverick.&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 createSWATRope ( float fx, float fy, float fZ, int duration )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''fx, fy, fz:''' the world coordinates where the effect originates.&lt;br /&gt;
*'''duration:''' the amount in miliseconds the rope will be there before falling to the ground.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a Swat rope in police maverick when you use the command /createrope &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;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function SwatRope()&lt;br /&gt;
    local myVehicle = getPedOccupiedVehicle(localPlayer)&lt;br /&gt;
    if myVehicle and getVehicleName(myVehicle) == &amp;quot;Police Maverick&amp;quot; then&lt;br /&gt;
        local x,y,z = getElementPosition(myVehicle)&lt;br /&gt;
        createSWATRope(x, y, z, 11111)  &lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;createrope&amp;quot;, SwatRope)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|n/a|1.1.1-9.03250|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{client world functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetLightDirection&amp;diff=45165</id>
		<title>SetLightDirection</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetLightDirection&amp;diff=45165"/>
		<updated>2015-05-04T19:33:52Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0150|1.5.0|7048|&lt;br /&gt;
This function sets the direction for a [[Element/Light|light]] element.&lt;br /&gt;
}}&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 setLightDirection ( light theLight, float x, float y, float z )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:setDirection|direction|getLightDirection}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to set the direction of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns ''true'' if the function was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
local light = createLight(0, 0, 0, 4)&lt;br /&gt;
addCommandHandler(&amp;quot;setdirectionoflight&amp;quot;,&lt;br /&gt;
	function(cmd, x, y, z)&lt;br /&gt;
		if x and y and z then&lt;br /&gt;
			setLightDirection(light, tonumber(x), tonumber(y), tonumber(z))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetLightColor&amp;diff=45164</id>
		<title>SetLightColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetLightColor&amp;diff=45164"/>
		<updated>2015-05-04T19:32:49Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|9.0150|1.5.0|7048|&lt;br /&gt;
This function sets the color for a [[Element/Light|light]] element.&lt;br /&gt;
}}&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 setLightColor ( light theLight, float r, float g, float b )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:setColor|color|getLightColor}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to set the color of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns ''true'' if the function was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
local light = createLight(1, 2, 3, 4)&lt;br /&gt;
addCommandHandler(&amp;quot;setcoloroflight&amp;quot;,&lt;br /&gt;
	function(cmd, r, g, b)&lt;br /&gt;
		if r and g and b then&lt;br /&gt;
			setLightColor(light, tonumber(r), tonumber(g), tonumber(b))&lt;br /&gt;
               end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetLightType&amp;diff=45163</id>
		<title>GetLightType</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetLightType&amp;diff=45163"/>
		<updated>2015-05-04T19:31:28Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0150|1.5.0|7048|&lt;br /&gt;
This function returns the type for a [[Element/Light|light]] element.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getLightType ( light theLight )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:getType}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to retrieve the type of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns an [[int]] containing the type of the specified light, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
local light = createLight(1, 2, 3, 4)&lt;br /&gt;
outputChatBox(&amp;quot;light type &amp;quot; .. getLightType(light))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetLightDirection&amp;diff=45162</id>
		<title>GetLightDirection</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetLightDirection&amp;diff=45162"/>
		<updated>2015-05-04T19:30:09Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0150|1.5.0|7048|&lt;br /&gt;
This function returns the direction for a [[Element/Light|light]] element.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float, float getLightDirection ( light theLight )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:getDirection|direction|setLightDirection}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to retrieve the direction of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns three [[int]]s corresponding to the x, y and z coordinates (respectively) of the light direction, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
function()&lt;br /&gt;
 local light = createLight(0, 1, 0, 4)&lt;br /&gt;
local lx, ly, lz = getLightDirection(light)&lt;br /&gt;
outputChatBox(&amp;quot;light direction: &amp;quot; .. lx .. &amp;quot;, &amp;quot; .. ly .. &amp;quot;, &amp;quot; .. lz)&lt;br /&gt;
end &lt;br /&gt;
end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetLightRadius&amp;diff=45161</id>
		<title>SetLightRadius</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetLightRadius&amp;diff=45161"/>
		<updated>2015-05-04T19:29:18Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0150|1.5.0|7048|&lt;br /&gt;
This function sets the radius for a [[Element/Light|light]] element.&lt;br /&gt;
}}&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 setLightRadius ( Light theLight, float radius )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[light]]:setRadius|radius|getLightRadius}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theLight:''' The [[Element/Light|light]] that you wish to set the radius of.&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
Returns ''true'' if the function was successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;[Lua]&lt;br /&gt;
local light = createLight(0, 2, 3, 4)&lt;br /&gt;
addCommandHandler(&amp;quot;setradiusoflight&amp;quot;,&lt;br /&gt;
	function(cmd, radius)&lt;br /&gt;
		if radius then&lt;br /&gt;
			if tonumber(radius) &amp;gt; 0 then&lt;br /&gt;
				setLightRadius(light, tonumber(radius))&lt;br /&gt;
			else&lt;br /&gt;
				outputChatBox(&amp;quot;Radius must be greater than 0.&amp;quot;)&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			outputChatBox(&amp;quot;You must specify a radius.&amp;quot;)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client_light_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RequestBrowserDomains&amp;diff=45157</id>
		<title>RequestBrowserDomains</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RequestBrowserDomains&amp;diff=45157"/>
		<updated>2015-05-04T05:20:44Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client_function}}&lt;br /&gt;
{{New feature/item|3.0150|1.5||&lt;br /&gt;
This function opens a request window in order to accept the requested remote URLs.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool requestBrowserDomains ( table pages )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[Element/Browser|browser]].requestDomains||requestBrowserDomains}}&lt;br /&gt;
&lt;br /&gt;
===Required arguments===&lt;br /&gt;
*'''pages:''' A table containing all domains ('''without''' &amp;lt;font color='red'&amp;gt;&amp;lt;nowiki&amp;gt;http://&amp;lt;/nowiki&amp;gt;&amp;lt;/font&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''', if the string was successfully read, '''false''' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;requestBrowserDomains({ &amp;quot;mtasa.com&amp;quot; }) -- request browser domain&lt;br /&gt;
showCursor(true) -- show cursor&lt;br /&gt;
addEventHandler(&amp;quot;onClientBrowserWhitelistChange&amp;quot;, root,&lt;br /&gt;
	function(newDomains)&lt;br /&gt;
		if newDomains[1] == &amp;quot;mtasa.com&amp;quot; then&lt;br /&gt;
			local browser = createBrowser(1280, 720, false, false) -- create browser&lt;br /&gt;
			loadBrowserURL(browser, &amp;quot;http://mtasa.com/&amp;quot;) -- load browser url&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{CEF_functions}}&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Object_IDs&amp;diff=45128</id>
		<title>Object IDs</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Object_IDs&amp;diff=45128"/>
		<updated>2015-04-29T10:36:14Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page displays object id's.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Beach and Sea&amp;quot;&amp;gt;&lt;br /&gt;
Image:BeachandSeaGeneral.jpg|'' General&lt;br /&gt;
Image:ShipsDocksandPiers1.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers2.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers3.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers4.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers5.jpg|'' Ships, Docks and Piers&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Buildings&amp;quot;&amp;gt;&lt;br /&gt;
Image:BarsClubsandCasinos.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:BarsClubsandCasinos2.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:BarsClubsandCasinos3.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:FactoriesandWarehouses.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses2.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses3.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses4.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses5.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses6.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:OfficesandSkyscrapers.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OfficesandSkyscrapers2.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OfficesandSkyscrapers3.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OtherBuildings.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings2.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings3.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings4.jpg|'' Other Buildings&lt;br /&gt;
Image:RestaurantsandHotels.jpg|'' Restaurants and Hotels&lt;br /&gt;
Image:RestaurantsandHotels2.jpg|'' Restaurants and Hotels&lt;br /&gt;
Image:SportsandStadiums.jpg|'' Sports and Stadiums&lt;br /&gt;
Image:SportsandStadiums2.jpg|'' Sports and Stadiums&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Industrial&amp;quot;&amp;gt;&lt;br /&gt;
Image:Cranes.jpg|'' Cranes&lt;br /&gt;
Image:CratesDrumsandRacks.jpg|'' Crates, Drums and Racks&lt;br /&gt;
Image:CratesDrumsandRacks2.jpg|'' Crates, Drums and Racks&lt;br /&gt;
Image:IndustrialGeneral.jpg|'' General&lt;br /&gt;
Image:IndustrialGeneral2.jpg|'' General&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
work in progress&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Object_IDs&amp;diff=45127</id>
		<title>Object IDs</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Object_IDs&amp;diff=45127"/>
		<updated>2015-04-29T10:34:46Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page displays object id's.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Beach and Sea&amp;quot;&amp;gt;&lt;br /&gt;
Image:BeachandSeaGeneral.jpg|'' General&lt;br /&gt;
Image:ShipsDocksandPiers1.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers2.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers3.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers4.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers5.jpg|'' Ships, Docks and Piers&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Buildings&amp;quot;&amp;gt;&lt;br /&gt;
Image:BarsClubsandCasinos.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:BarsClubsandCasinos2.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:BarsClubsandCasinos3.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:FactoriesandWarehouses.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses2.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses3.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses4.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses5.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses6.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:OfficesandSkyscrapers.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OfficesandSkyscrapers2.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OfficesandSkyscrapers3.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OtherBuildings.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings2.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings3.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings4.jpg|'' Other Buildings&lt;br /&gt;
Image:RestaurantsandHotels.jpg|'' Restaurants and Hotels&lt;br /&gt;
Image:RestaurantsandHotels2.jpg|'' Restaurants and Hotels&lt;br /&gt;
Image:SportsandStadiums.jpg|'' Sports and Stadiums&lt;br /&gt;
Image:SportsandStadiums2.jpg|'' Sports and Stadiums&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Industrial&amp;quot;&amp;gt;&lt;br /&gt;
Image:Cranes.jpg|'' Cranes&lt;br /&gt;
Image:CratesDrumsandRacks.jpg|'' Crates, Drums and Racks&lt;br /&gt;
Image:CratesDrumsandRacks2.jpg|'' Crates, Drums and Racks&lt;br /&gt;
Image:IndustrialGeneral.jpg|'' General&lt;br /&gt;
Image:IndustrialGeneral2.jpg|'' General&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:IndustrialGeneral2.jpg&amp;diff=45126</id>
		<title>File:IndustrialGeneral2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:IndustrialGeneral2.jpg&amp;diff=45126"/>
		<updated>2015-04-29T10:33:52Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: Industrial General 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Industrial General 2&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=File:IndustrialGeneral.jpg&amp;diff=45125</id>
		<title>File:IndustrialGeneral.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=File:IndustrialGeneral.jpg&amp;diff=45125"/>
		<updated>2015-04-29T10:33:28Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: Industrial General 1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Industrial General 1&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Object_IDs&amp;diff=45124</id>
		<title>Object IDs</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Object_IDs&amp;diff=45124"/>
		<updated>2015-04-29T10:31:21Z</updated>

		<summary type="html">&lt;p&gt;Mr.unpredictable: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page displays object id's.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Beach and Sea&amp;quot;&amp;gt;&lt;br /&gt;
Image:BeachandSeaGeneral.jpg|'' General&lt;br /&gt;
Image:ShipsDocksandPiers1.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers2.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers3.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers4.jpg|'' Ships, Docks and Piers&lt;br /&gt;
Image:ShipsDocksandPiers5.jpg|'' Ships, Docks and Piers&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Buildings&amp;quot;&amp;gt;&lt;br /&gt;
Image:BarsClubsandCasinos.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:BarsClubsandCasinos2.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:BarsClubsandCasinos3.jpg|'' Bars, Clubs and Casinos&lt;br /&gt;
Image:FactoriesandWarehouses.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses2.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses3.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses4.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses5.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:FactoriesandWarehouses6.jpg|'' Factories and Warehouses&lt;br /&gt;
Image:OfficesandSkyscrapers.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OfficesandSkyscrapers2.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OfficesandSkyscrapers3.jpg|'' Offices and Skyscrapers&lt;br /&gt;
Image:OtherBuildings.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings2.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings3.jpg|'' Other Buildings&lt;br /&gt;
Image:OtherBuildings4.jpg|'' Other Buildings&lt;br /&gt;
Image:RestaurantsandHotels.jpg|'' Restaurants and Hotels&lt;br /&gt;
Image:RestaurantsandHotels2.jpg|'' Restaurants and Hotels&lt;br /&gt;
Image:SportsandStadiums.jpg|'' Sports and Stadiums&lt;br /&gt;
Image:SportsandStadiums2.jpg|'' Sports and Stadiums&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;  caption=&amp;quot;Industrial&amp;quot;&amp;gt;&lt;br /&gt;
Image:Cranes.jpg|'' Cranes&lt;br /&gt;
Image:CratesDrumsandRacks.jpg|'' Crates, Drums and Racks&lt;br /&gt;
Image:CratesDrumsandRacks2.jpg|'' Crates, Drums and Racks&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mr.unpredictable</name></author>
	</entry>
</feed>