<?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=AwwYou</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=AwwYou"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/AwwYou"/>
	<updated>2026-04-28T19:36:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Table&amp;diff=29955</id>
		<title>Table</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Table&amp;diff=29955"/>
		<updated>2012-04-11T15:29:55Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A table is an array-like data storage type. They are mostly used for bigger data storage.&lt;br /&gt;
Tables can be indexed not only with numbers but also with other data types, for example with strings and MTA [[elements]].&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a list of every default table manipulation function present in Lua.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.concat table.concat]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.insert table.insert]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.maxn table.maxn]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.remove table.remove]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.sort table.sort]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-unpack unpack]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[http://www.lua.org/pil/2.5.html Tables at lua.org]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Table&amp;diff=29954</id>
		<title>Table</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Table&amp;diff=29954"/>
		<updated>2012-04-11T15:27:57Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: poo?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A table is an array-like data storage type. They are mostly used for bigger data storage.&lt;br /&gt;
Tables can be indexed not only with numbers but also with other data types, for example with strings and MTA [[elements]].&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a list of every default table manipulation function present in Lua.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.concat table.concat]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.insert table.insert]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.maxn table.maxn]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.remove table.remove]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-table.sort table.sort]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.unpack table.unpack]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[http://www.lua.org/pil/2.5.html Tables at lua.org]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=String&amp;diff=29953</id>
		<title>String</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=String&amp;diff=29953"/>
		<updated>2012-04-11T15:23:43Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: poo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A string is a sequence of characters, for example &amp;quot;Hello, World!&amp;quot; is a string.&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a list of every default string manipulation function present in Lua.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.byte string.byte]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.char string.char]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.dump string.dump]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.find string.find]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.format string.format]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.gmatch string.gmatch]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.gsub string.gsub]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.len string.len]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.lower string.lower]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.match string.match]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.rep string.rep]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.reverse string.reverse]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.sub string.sub]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-string.upper string.upper]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=29952</id>
		<title>Math</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=29952"/>
		<updated>2012-04-11T15:23:15Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: poo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Math is a built-in Lua library which contains mathematical functions and constants that you can use in scripts.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.abs math.abs]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.acos math.acos]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.asin math.asin]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.atan math.atan]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.atan2 math.atan2]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.ceil math.ceil]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.cos math.cos]  &lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.cosh math.cosh]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.deg math.deg]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.exp math.exp]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.floor math.floor]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.fmod math.fmod]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.frexp math.frexp]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.huge math.huge] (constant)&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.ldexp math.ldexp]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.log math.log]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.log10 math.log10]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.max math.max]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.min math.min]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.modf math.modf]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.pi math.pi] (constant)&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.pow math.pow]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.rad math.rad]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.random math.random]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.randomseed math.randomseed]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.sin math.sin]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.sinh math.sinh]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.sqrt math.sqrt]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.tanh math.tanh]&lt;br /&gt;
* [http://www.lua.org/manual/5.1/manual.html#pdf-math.tan math.tan]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [http://lua-users.org/wiki/MathLibraryTutorial Math examples on the LUA Wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=29945</id>
		<title>Math</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=29945"/>
		<updated>2012-04-10T18:19:33Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Math is a built-in Lua library which contains mathematical functions and constants that you can use in scripts.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.abs math.abs]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.acos math.acos]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.asin math.asin]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.atan math.atan]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.atan2 math.atan2]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.ceil math.ceil]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.cos math.cos]  &lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.cosh math.cosh]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.deg math.deg]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.exp math.exp]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.floor math.floor]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.fmod math.fmod]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.frexp math.frexp]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.huge math.huge] (constant)&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.ldexp math.ldexp]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.log math.log]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.log10 math.log10]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.max math.max]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.min math.min]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.modf math.modf]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.pi math.pi] (constant)&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.pow math.pow]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.rad math.rad]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.random math.random]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.randomseed math.randomseed]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.sin math.sin]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.sinh math.sinh]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.sqrt math.sqrt]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.tanh math.tanh]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.tan math.tan]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [http://lua-users.org/wiki/MathLibraryTutorial Math examples on the LUA Wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=29944</id>
		<title>Math</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Math&amp;diff=29944"/>
		<updated>2012-04-10T18:18:40Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Math is a built-in Lua library which containts mathematical functions and constants that you can use in scripts.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.abs math.abs]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.acos math.acos]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.asin math.asin]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.atan math.atan]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.atan2 math.atan2]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.ceil math.ceil]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.cos math.cos]  &lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.cosh math.cosh]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.deg math.deg]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.exp math.exp]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.floor math.floor]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.fmod math.fmod]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.frexp math.frexp]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.huge math.huge] (constant)&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.ldexp math.ldexp]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.log math.log]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.log10 math.log10]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.max math.max]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.min math.min]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.modf math.modf]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.pi math.pi] (constant)&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.pow math.pow]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.rad math.rad]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.random math.random]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.randomseed math.randomseed]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.sin math.sin]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.sinh math.sinh]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.sqrt math.sqrt]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.tanh math.tanh]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-math.tan math.tan]&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [http://lua-users.org/wiki/MathLibraryTutorial Math examples on the LUA Wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=String&amp;diff=29943</id>
		<title>String</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=String&amp;diff=29943"/>
		<updated>2012-04-10T18:11:26Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A string is a sequence of characters, for example &amp;quot;Hello, World!&amp;quot; is a string.&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a list of every default string manipulation function present in Lua.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.byte string.byte]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.char string.char]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.dump string.dump]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.find string.find]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.format string.format]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.gmatch string.gmatch]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.gsub string.gsub]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.len string.len]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.lower string.lower]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.match string.match]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.rep string.rep]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.reverse string.reverse]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.sub string.sub]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.upper string.upper]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Table&amp;diff=29942</id>
		<title>Table</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Table&amp;diff=29942"/>
		<updated>2012-04-10T18:11:01Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A table is an array-like data storage type. They are mostly used for bigger data storage.&lt;br /&gt;
Tables can be indexed not only with numbers but also with other data types, for example with strings and MTA [[elements]].&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is a list of every default table manipulation function present in Lua.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.concat table.concat]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.insert table.insert]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.pack table.pack]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.remove table.remove]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.sort table.sort]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-table.unpack table.unpack]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[http://www.lua.org/pil/2.5.html Tables at lua.org]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=String&amp;diff=29941</id>
		<title>String</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=String&amp;diff=29941"/>
		<updated>2012-04-10T18:04:48Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A string is a sequence of characters, for example &amp;quot;Hello, World!&amp;quot; is a string.&amp;lt;br /&amp;gt;&lt;br /&gt;
We propose a list of every string functions here.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.byte string.byte]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.char string.char]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.dump string.dump]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.find string.find]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.format string.format]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.gmatch string.gmatch]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.gsub string.gsub]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.len string.len]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.lower string.lower]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.match string.match]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.rep string.rep]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.reverse string.reverse]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.sub string.sub]&lt;br /&gt;
* [http://www.lua.org/manual/5.2/manual.html#pdf-string.upper string.upper]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=29940</id>
		<title>ProcessLineOfSight</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=ProcessLineOfSight&amp;diff=29940"/>
		<updated>2012-04-10T17:51:26Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: Undo revision 29939 by Jaysds (talk) durr&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Needs_Checking|Explain ignoreSomeObjectsForCamera and ignoredElement with examples?&lt;br /&gt;
--[[User:Ransom|Ransom]] 07:18, 3 February 2011 (UTC)}}&lt;br /&gt;
{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function casts a ray between two points in the world, and tells you information about the point that was hit, if any. The two positions '''must''' be within the local player's draw distance as the collision data is not loaded outside this area, and the call will just fail as if the ray didn't hit.&lt;br /&gt;
&lt;br /&gt;
This function is relatively expensive to call, so over use of this in scripts may have a detrimental effect on performance.&lt;br /&gt;
&lt;br /&gt;
This function is useful for checking for collisions and for editor-style scripts. If you wish to find what element is positioned at a particular point on the screen, use this function combined with [[getWorldFromScreenPosition]]. If you wish to just know if something is hit, and don't care about what or where was hit, use [[isLineOfSightClear]].&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
Return values labelled for ease of reference.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool               -- hit&lt;br /&gt;
float float float  -- hitX, hitY, hitZ&lt;br /&gt;
element            -- hitElement&lt;br /&gt;
float float float  -- normalX, normalY, normalZ&lt;br /&gt;
int                -- material&lt;br /&gt;
int                -- lighting&lt;br /&gt;
int                -- piece&lt;br /&gt;
int                -- worldModelID&lt;br /&gt;
float float float  -- worldModelPositionX,Y,Z&lt;br /&gt;
float float float  -- worldModelRotationX,Y,Z&lt;br /&gt;
                  processLineOfSight ( float startX, float startY, float startZ, &lt;br /&gt;
                                       float endX, float endY, float endZ, &lt;br /&gt;
                                       [ bool checkBuildings = true, &lt;br /&gt;
                                       bool checkVehicles = true, &lt;br /&gt;
                                       bool checkPlayers = true, &lt;br /&gt;
                                       bool checkObjects = true, &lt;br /&gt;
                                       bool checkDummies = true, &lt;br /&gt;
                                       bool seeThroughStuff = false, &lt;br /&gt;
                                       bool ignoreSomeObjectsForCamera = false, &lt;br /&gt;
                                       bool shootThroughStuff = false, &lt;br /&gt;
                                       element ignoredElement = nil,&lt;br /&gt;
                                       bool includeWorldModelInformation = false ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''startX:''' The start ''x'' position&lt;br /&gt;
*'''startY:''' The start ''y'' position&lt;br /&gt;
*'''startZ:''' The start ''z'' position&lt;br /&gt;
*'''endX:''' The end ''x'' position&lt;br /&gt;
*'''endY:''' The end ''y'' position&lt;br /&gt;
*'''endZ:''' The end ''z'' position&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''checkBuildings:''' Allow the line of sight to be blocked by GTA's internally placed buildings, i.e. the world map.&lt;br /&gt;
*'''checkVehicles:''' Allow the line of sight to be blocked by [[Vehicle|vehicles]].&lt;br /&gt;
*'''checkPlayers:''' Allow the line of sight to be blocked by [[Player|players]].&lt;br /&gt;
*'''checkObjects:''' Allow the line of sight to be blocked by [[Object|objects]].&lt;br /&gt;
*'''checkDummies:''' Allow the line of sight to be blocked by GTA's internal dummies.  These are not used in the current MTA version so this argument can be set to ''false''.&lt;br /&gt;
*'''seeThroughStuff:''' Allow the line of sight to be blocked by translucent game objects, e.g. glass.&lt;br /&gt;
*'''ignoreSomeObjectsForCamera:''' Allow the line of sight to be blocked by certain objects.&lt;br /&gt;
*'''shootThroughStuff:''' Allow the line of sight to be blocked by things that can be shot through&lt;br /&gt;
*'''ignoredElement:''' Allow the line of sight to pass through a certain specified element. This is usually set the object you are tracing from.&lt;br /&gt;
{{New feature|3.0110|1.1|&lt;br /&gt;
*'''includeWorldModelInformation :''' Include the results of hitting a world model.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
*'''hit:''' ''true'' if there is a collision, ''false'' otherwise&lt;br /&gt;
The other values are only filled if there is a collision, they contain ''nil'' otherwise&lt;br /&gt;
*'''hitX, hitY, hitZ:''' collision position&lt;br /&gt;
*'''hitElement:''' the MTA element hit if any, ''nil'' otherwise&lt;br /&gt;
{{New feature|3.0110|1.1|&lt;br /&gt;
*'''normalX, normalY, normalZ:''' the normal of the surface hit&lt;br /&gt;
*'''material:''' an integer representing the [[Material IDs|GTASA material ID]] of the surface hit when applicable (world, objects)&lt;br /&gt;
*'''lighting:''' an integer between 0 (fully dark) and 255 (bright) representing the lighting intensity of the surface hit. This intensity is related to the lighting intensity the ped gets when standing on this surface (more than 100 in general, less than 20 in dark areas, and 0 to 1 in stealth parts of Madd Dogg's mansion)&lt;br /&gt;
*'''piece:''' an integer representing the part of the element hit if hitElement is a vehicle or a ped/player, ''0'' otherwise. &lt;br /&gt;
**For a ped/player, piece represents the body part hit:&lt;br /&gt;
{{BodyParts}}&lt;br /&gt;
**For vehicles, piece represents the vehicle part hit:&lt;br /&gt;
{{VehicleParts}}&lt;br /&gt;
*'''worldModelID:''' If includeWorldModelInformation was set to ''true'' and a world model was hit, this will contain the model ID.&lt;br /&gt;
*'''worldModelPositionX,Y,Z:''' If worldModelID is set, this will contain the world model position.&lt;br /&gt;
*'''worldModelRotationX,Y,Z:''' If worldModelID is set, this will contain the world model rotation.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example shows how you can tell what position and element the camera is looking at, up to 50 units away.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local w, h = guiGetScreenSize ()&lt;br /&gt;
local tx, ty, tz = getWorldFromScreenPosition ( w/2, h/2, 50 )&lt;br /&gt;
local px, py, pz = getCameraMatrix()&lt;br /&gt;
hit, x, y, z, elementHit = processLineOfSight ( px, py, pz, tx, ty, tz )&lt;br /&gt;
if hit then&lt;br /&gt;
    outputChatBox ( &amp;quot;Looking at &amp;quot; .. x .. &amp;quot;, &amp;quot; .. y .. &amp;quot;, &amp;quot; ..  z )&lt;br /&gt;
    if elementHit then&lt;br /&gt;
        outputChatBox ( &amp;quot;Hit element &amp;quot; .. getElementType(elementHit) )&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 world functions}}&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:AwwYou&amp;diff=26689</id>
		<title>User:AwwYou</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:AwwYou&amp;diff=26689"/>
		<updated>2011-08-13T19:22:26Z</updated>

		<summary type="html">&lt;p&gt;AwwYou: Created page with &amp;quot;&amp;lt;font size=&amp;quot;7&amp;quot;&amp;gt;'''HAI DER'''&amp;lt;/font&amp;gt;   [http://community.mtasa.com/index.php?p=profile&amp;amp;id=1792 MTA Community]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;font size=&amp;quot;7&amp;quot;&amp;gt;'''HAI DER'''&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://community.mtasa.com/index.php?p=profile&amp;amp;id=1792 MTA Community]&lt;/div&gt;</summary>
		<author><name>AwwYou</name></author>
	</entry>
</feed>