<?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=Kenix1</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=Kenix1"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Kenix1"/>
	<updated>2026-04-11T07:47:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=38812</id>
		<title>PregReplace</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=38812"/>
		<updated>2014-02-07T05:30:59Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function performs a regular expression search and replace and returns the replaced string.&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;
string pregReplace ( string subject, string pattern, string replacement [, uint flags = 0 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]].&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
*'''replacement:''' The replacement [[string]] to replace all matches within the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the replaced ''[[string]]'', or [[bool]] ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- Replace doh with done&lt;br /&gt;
		outputDebugString( pregReplace( 'I doh this, guys.', 'doh', 'done' ) or 'not replaced' ) -- Result: I done this, guys&lt;br /&gt;
                -- Remove all uppercase alphabetic characters&lt;br /&gt;
                outputDebugString( pregReplace( 'AaaBbbZzz', '[A-Z]{1,}', '' ) or 'not replaced' ) -- Result: aabbzz&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38579</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38579"/>
		<updated>2014-01-19T16:34:34Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern [, uint flags = 0 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'example',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;hello hello&amp;quot;, &amp;quot;(hello)&amp;quot;  ) ) do&lt;br /&gt;
	            outputDebugString( &amp;quot;Match: &amp;quot; .. i .. &amp;quot;, &amp;quot; .. v );&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( 'example2',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, somebodyWWw&lt;br /&gt;
                Match: 2, 228&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;somebodyWWw\n228&amp;quot;, &amp;quot;([a-z0-9]+)&amp;quot;, bitOr( 1,2 ) ) ) do&lt;br /&gt;
	            outputDebugString( &amp;quot;Match: &amp;quot; .. i .. &amp;quot;, &amp;quot; .. v );&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
);&lt;br /&gt;
&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=38578</id>
		<title>PregReplace</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=38578"/>
		<updated>2014-01-19T16:34:21Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function performs a regular expression search and replace and returns the replaced string.&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;
string pregReplace ( string subject, string pattern, string replacement [, uint = 0 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]].&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
*'''replacement:''' The replacement [[string]] to replace all matches within the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the replaced ''[[string]]'', or [[bool]] ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- Replace doh with done&lt;br /&gt;
		outputDebugString( pregReplace( 'I doh this, guys.', 'doh', 'done' ) or 'not replaced' ) -- Result: I done this, guys&lt;br /&gt;
                -- Remove all uppercase alphabetic characters&lt;br /&gt;
                outputDebugString( pregReplace( 'AaaBbbZzz', '[A-Z]{1,}', '' ) or 'not replaced' ) -- Result: aabbzz&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38577</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38577"/>
		<updated>2014-01-19T16:33:48Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function stops at the first occurrence of the pattern in the input string and returns the result of the search.&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 pregFind ( string subject, string pattern [, uint flags = 0 ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]]&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the pattern was found in the input string, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- find the first occurrence of 'hello world' in a string&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- find the first occurrence of an integer in a string&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string consists of at least 3 letters from a to z (both uppercase and lowercase) and does not contain any whitespace characters&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string matches the format of a role-play name&lt;br /&gt;
                outputDebugString( pregFind( 'Garry_Newman', '([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for non-ASCII characters (i.e. cyrillic) - привет&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for a specific sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=38576</id>
		<title>PregReplace</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=38576"/>
		<updated>2014-01-19T16:19:47Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function performs a regular expression search and replace and returns the replaced string.&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;
string pregReplace ( string subject, string pattern, string replacement, uint = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]].&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
*'''replacement:''' The replacement [[string]] to replace all matches within the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the replaced ''[[string]]'', or [[bool]] ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- Replace doh with done&lt;br /&gt;
		outputDebugString( pregReplace( 'I doh this, guys.', 'doh', 'done' ) or 'not replaced' ) -- Result: I done this, guys&lt;br /&gt;
                -- Remove all uppercase alphabetic characters&lt;br /&gt;
                outputDebugString( pregReplace( 'AaaBbbZzz', '[A-Z]{1,}', '' ) or 'not replaced' ) -- Result: aabbzz&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38575</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38575"/>
		<updated>2014-01-19T16:18:17Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern, uint flags = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'example',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;hello hello&amp;quot;, &amp;quot;(hello)&amp;quot;  ) ) do&lt;br /&gt;
	            outputDebugString( &amp;quot;Match: &amp;quot; .. i .. &amp;quot;, &amp;quot; .. v );&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( 'example2',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, somebodyWWw&lt;br /&gt;
                Match: 2, 228&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;somebodyWWw\n228&amp;quot;, &amp;quot;([a-z0-9]+)&amp;quot;, bitOr( 1,2 ) ) ) do&lt;br /&gt;
	            outputDebugString( &amp;quot;Match: &amp;quot; .. i .. &amp;quot;, &amp;quot; .. v );&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
);&lt;br /&gt;
&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38574</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38574"/>
		<updated>2014-01-19T16:17:38Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern, uint flags = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'example',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( 'hello hello', '(hello)'  ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( 'example2',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, somebodyWWw&lt;br /&gt;
                Match: 2, 228&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;somebodyWWw\n228&amp;quot;, &amp;quot;([a-z0-9]+)&amp;quot;, bitOr( 1,2 ) ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38573</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38573"/>
		<updated>2014-01-19T16:17:11Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern, uint flags = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'example',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( 'hello hello', '(hello)'  ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( 'example2',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, somebodyWWw&lt;br /&gt;
                Match: 2, 228&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;somebodyWWw\n228&amp;quot;, &amp;quot;([a-z0-9]+)&amp;quot;, bitOr(1,2) ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38572</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38572"/>
		<updated>2014-01-19T16:15:12Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern, uint flags = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'example',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( 'hello hello', '(hello)'  ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( 'example2',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, somebodyWWw&lt;br /&gt;
                Match: 2, 3&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;somebodyWWw\n228&amp;quot;, &amp;quot;([a-z0-9]+)&amp;quot;, bitOr(1,2) ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38571</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=38571"/>
		<updated>2014-01-19T16:14:48Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern, uint flags = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'example',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( 'hello hello', '(hello)'  ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
addCommandHandler( 'example2',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, somebodyWWw&lt;br /&gt;
                Match: 2, 3&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( &amp;quot;somebodyWWw\n228&amp;quot;, &amp;quot;([a-z0-9]+)&amp;quot;, bitOr(1,2) ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&lt;br /&gt;
&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38570</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38570"/>
		<updated>2014-01-19T16:11:33Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function stops at the first occurrence of the pattern in the input string and returns the result of the search.&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 pregFind ( string subject, string pattern, uint flags = 0 )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]]&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the pattern was found in the input string, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- find the first occurrence of 'hello world' in a string&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- find the first occurrence of an integer in a string&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string consists of at least 3 letters from a to z (both uppercase and lowercase) and does not contain any whitespace characters&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string matches the format of a role-play name&lt;br /&gt;
                outputDebugString( pregFind( 'Garry_Newman', '([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for non-ASCII characters (i.e. cyrillic) - привет&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for a specific sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38569</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38569"/>
		<updated>2014-01-19T16:10:53Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function stops at the first occurrence of the pattern in the input string and returns the result of the search.&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 pregFind ( string subject, string pattern, uint flags )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]]&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 - ignorecase, 2 - multiline, 4 - dotall, 8 - extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the pattern was found in the input string, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- find the first occurrence of 'hello world' in a string&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- find the first occurrence of an integer in a string&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string consists of at least 3 letters from a to z (both uppercase and lowercase) and does not contain any whitespace characters&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string matches the format of a role-play name&lt;br /&gt;
                outputDebugString( pregFind( 'Garry_Newman', '([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for non-ASCII characters (i.e. cyrillic) - привет&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for a specific sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38568</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38568"/>
		<updated>2014-01-19T16:10:23Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function stops at the first occurrence of the pattern in the input string and returns the result of the search.&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 pregFind ( string subject, string pattern, uint flags )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]]&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags ( 1 ignorecase; 2 multiline; 4 dotall; 8 extented ).&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the pattern was found in the input string, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- find the first occurrence of 'hello world' in a string&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- find the first occurrence of an integer in a string&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string consists of at least 3 letters from a to z (both uppercase and lowercase) and does not contain any whitespace characters&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string matches the format of a role-play name&lt;br /&gt;
                outputDebugString( pregFind( 'Garry_Newman', '([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for non-ASCII characters (i.e. cyrillic) - привет&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for a specific sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38567</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=38567"/>
		<updated>2014-01-19T16:09:52Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New items|4.0135|1.3.5|&lt;br /&gt;
This function stops at the first occurrence of the pattern in the input string and returns the result of the search.&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 pregFind ( string subject, string pattern, uint flags )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''subject:''' The input [[string]]&lt;br /&gt;
*'''pattern:''' The pattern [[string]] to search for in the input [[string]].&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''flags:''' Conjuncted value that contains flags.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the pattern was found in the input string, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- find the first occurrence of 'hello world' in a string&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- find the first occurrence of an integer in a string&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string consists of at least 3 letters from a to z (both uppercase and lowercase) and does not contain any whitespace characters&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- check if the input string matches the format of a role-play name&lt;br /&gt;
                outputDebugString( pregFind( 'Garry_Newman', '([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for non-ASCII characters (i.e. cyrillic) - привет&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- example of a search for a specific sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
	end&lt;br /&gt;
)&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|1.3.5-9.06056|1.3.5-9.06056|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=36088</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=36088"/>
		<updated>2013-05-25T12:18:11Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Left 4 Dead MTA developer/owner, Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table pregMatch ( string base, string pattern )&lt;br /&gt;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
bool pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Try to make a setPedAimTarget working for localPlayer too&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a multilanguage support with Talidan&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Try to fix a custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/Remove/GetDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=36087</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=36087"/>
		<updated>2013-05-25T12:14:50Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table pregMatch ( string base, string pattern )&lt;br /&gt;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
bool pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Try to make a setPedAimTarget working for localPlayer too&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a multilanguage support with Talidan&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Try to fix a custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/Remove/GetDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=36086</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=36086"/>
		<updated>2013-05-25T12:13:45Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table pregMatch ( string base, string pattern )&lt;br /&gt;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
bool pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make a setPedAimTarget working for localPlayer too&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a multilanguage support with Talidan&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Trying to fix a custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/Remove/GetDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_audio_functions&amp;diff=35874</id>
		<title>Template:Client audio functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_audio_functions&amp;diff=35874"/>
		<updated>2013-05-08T11:05:50Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[playSoundFrontEnd]]&lt;br /&gt;
*[[getRadioChannel]]&lt;br /&gt;
*[[getRadioChannelName]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[getSoundEffects]]&lt;br /&gt;
}}&lt;br /&gt;
*[[getSoundLength]]&lt;br /&gt;
*[[getSoundMaxDistance]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[getSoundMetaTags]]&lt;br /&gt;
}}&lt;br /&gt;
*[[getSoundMinDistance]]&lt;br /&gt;
*[[getSoundPosition]]&lt;br /&gt;
*[[getSoundSpeed]]&lt;br /&gt;
*[[getSoundVolume]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[setSoundEffectEnabled]]&lt;br /&gt;
}}&lt;br /&gt;
*[[isSoundPaused]]&lt;br /&gt;
*[[playSound]]&lt;br /&gt;
*[[playSound3D]]&lt;br /&gt;
*[[setRadioChannel]]&lt;br /&gt;
*[[setSoundMaxDistance]]&lt;br /&gt;
*[[setSoundMinDistance]]&lt;br /&gt;
*[[setSoundPaused]]&lt;br /&gt;
*[[setSoundPosition]]&lt;br /&gt;
*[[setSoundSpeed]]&lt;br /&gt;
*[[setSoundVolume]]&lt;br /&gt;
*[[stopSound]]&lt;br /&gt;
*[[getSoundBPM]]&lt;br /&gt;
*[[getSoundProperties]]&lt;br /&gt;
*[[setSoundProperties]]&lt;br /&gt;
*[[getSoundFFTData]]&lt;br /&gt;
*[[getSoundWaveData]]&lt;br /&gt;
*[[getSoundLevelData]]&lt;br /&gt;
{{New feature/item|4.0131|1.3.1|5258|&lt;br /&gt;
* [[setSoundPan]]&lt;br /&gt;
* [[getSoundPan]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Functions templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35542</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35542"/>
		<updated>2013-04-24T10:31:05Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add a regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table pregMatch ( string base, string pattern )&lt;br /&gt;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
bool pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/Remove/GetDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Table.empty&amp;diff=35417</id>
		<title>Table.empty</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Table.empty&amp;diff=35417"/>
		<updated>2013-04-15T14:29:42Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle&amp;gt;&amp;lt;/lowercasetitle&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function check is empty table or not.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean table.empty( table a )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''a''': The table for check.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the true if table is empty or false in otherwise. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Code&amp;quot; class=&amp;quot;both&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 table.empty( a )&lt;br /&gt;
    if type( a ) ~= &amp;quot;table&amp;quot; then&lt;br /&gt;
        return false&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    return not next( a )&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;
&amp;lt;section name=&amp;quot;Example&amp;quot; class=&amp;quot;both&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;
print( 'empty = ' .. tostring( table.empty( { [0] = 1 } ) ) ) -- false&lt;br /&gt;
print( 'empty = ' .. tostring( table.empty( { [10] = 10, [2] = 2 } ) ) ) -- false&lt;br /&gt;
print( 'empty = ' .. tostring( table.empty( { } ) ) ) -- true&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: Kenix&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Table.compare&amp;diff=35416</id>
		<title>Table.compare</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Table.compare&amp;diff=35416"/>
		<updated>2013-04-15T14:27:19Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle&amp;gt;&amp;lt;/lowercasetitle&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function check if both tables is equal.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean table.compare( table a, table a2 )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''a''': The table to check.&lt;br /&gt;
* '''a2''': The table to check.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
This function equal only number and string values of tables. All other types ignored! &amp;lt;br&amp;gt;&lt;br /&gt;
See examples.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if tables is equal.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Code&amp;quot; class=&amp;quot;both&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 table.compare( a1, a2 )&lt;br /&gt;
	if &lt;br /&gt;
		type( a1 ) == 'table' and&lt;br /&gt;
		type( a2 ) == 'table'&lt;br /&gt;
	then&lt;br /&gt;
	&lt;br /&gt;
		local function size( t )&lt;br /&gt;
			if type( t ) ~= 'table' then&lt;br /&gt;
				return false &lt;br /&gt;
			end&lt;br /&gt;
			local n = 0&lt;br /&gt;
			for _ in pairs( t ) do&lt;br /&gt;
				n = n + 1&lt;br /&gt;
			end&lt;br /&gt;
			return n&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if size( a1 ) == 0 and size( a2 ) == 0 then&lt;br /&gt;
			return true&lt;br /&gt;
		elseif size( a1 ) ~= size( a2 ) then&lt;br /&gt;
			return false&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		for _, v in pairs( a1 ) do&lt;br /&gt;
			local v2 = a2[ _ ]&lt;br /&gt;
			if type( v ) == type( v2 ) then&lt;br /&gt;
				if type( v ) == 'table' and type( v2 ) == 'table' then&lt;br /&gt;
					if size( v ) ~= size( v2 ) then&lt;br /&gt;
						return false&lt;br /&gt;
					end&lt;br /&gt;
					if size( v ) &amp;gt; 0 and size( v2 ) &amp;gt; 0 then&lt;br /&gt;
						if not table.compare( v, v2 ) then &lt;br /&gt;
							return false &lt;br /&gt;
						end&lt;br /&gt;
					end	&lt;br /&gt;
				elseif &lt;br /&gt;
					type( v ) == 'string' or type( v ) == 'number' and&lt;br /&gt;
					type( v2 ) == 'string' or type( v2 ) == 'number'&lt;br /&gt;
				then&lt;br /&gt;
					if v ~= v2 then&lt;br /&gt;
						return false&lt;br /&gt;
					end&lt;br /&gt;
				else&lt;br /&gt;
					return false&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				return false&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		return true&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;
&amp;lt;section name=&amp;quot;Example&amp;quot; class=&amp;quot;both&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;
--[[&lt;br /&gt;
 Well all noobs can say about this function is suck because i can compare both tables like this:&lt;br /&gt;
 a = { 1 }&lt;br /&gt;
 a2 = { 1 }&lt;br /&gt;
 print( a == a2 ) --&amp;gt; FALSE&lt;br /&gt;
 &lt;br /&gt;
 It's LIE!&lt;br /&gt;
&lt;br /&gt;
 Here is compare userdata of both tables.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local a1 = { 1, 2, 3 }&lt;br /&gt;
local a2 = { 1, 2, 3 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a1, a2 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&lt;br /&gt;
local a3 = { 1, { 2, 4 }, 5 }&lt;br /&gt;
local a4 = { 1, { 2, 4 }, 5 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a3, a4 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&lt;br /&gt;
local a5 = { { 1, 2, 3 }, 5 }&lt;br /&gt;
local a6 = { 1, 5 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a5, a6 ) ) --&amp;gt; FALSE condition doesn't working. Because tables are not same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local a7 = { 'a', 'b' }&lt;br /&gt;
local a8 = { 'a', 'b' }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a7, a8 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&lt;br /&gt;
local a9 = { 1, {}, 5 }&lt;br /&gt;
local a10 = { 1, {}, 5 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a9, a10 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: Kenix&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Table.compare&amp;diff=35415</id>
		<title>Table.compare</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Table.compare&amp;diff=35415"/>
		<updated>2013-04-15T14:26:06Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: Created page with &amp;quot;{{Useful Function}} &amp;lt;lowercasetitle&amp;gt;&amp;lt;/lowercasetitle&amp;gt; __NOTOC__ This function check if both tables is equal. ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean table.compare( table a, table a2 )&amp;lt;/c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Useful Function}}&lt;br /&gt;
&amp;lt;lowercasetitle&amp;gt;&amp;lt;/lowercasetitle&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function check if both tables is equal.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean table.compare( table a, table a2 )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''a''': The table to check.&lt;br /&gt;
* '''a2''': The table to check.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
This function equal only number and string values of tables. All other types ignored! &amp;lt;br&amp;gt;&lt;br /&gt;
See examples.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if tables is equal.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Code&amp;quot; class=&amp;quot;both&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 table.compare( a1, a2 )&lt;br /&gt;
	if &lt;br /&gt;
		type( a1 ) == 'table' and&lt;br /&gt;
		type( a2 ) == 'table'&lt;br /&gt;
	then&lt;br /&gt;
	&lt;br /&gt;
		local function size( t )&lt;br /&gt;
			if type( t ) ~= 'table' then&lt;br /&gt;
				return false &lt;br /&gt;
			end&lt;br /&gt;
			local n = 0&lt;br /&gt;
			for _ in pairs( t ) do&lt;br /&gt;
				n = n + 1&lt;br /&gt;
			end&lt;br /&gt;
			return n&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if size( a1 ) == 0 and size( a2 ) == 0 then&lt;br /&gt;
			return true&lt;br /&gt;
		elseif size( a1 ) ~= size( a2 ) then&lt;br /&gt;
			return false&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		for _, v in pairs( a1 ) do&lt;br /&gt;
			local v2 = a2[ _ ]&lt;br /&gt;
			if type( v ) == type( v2 ) then&lt;br /&gt;
				if type( v ) == 'table' and type( v2 ) == 'table' then&lt;br /&gt;
					if size( v ) ~= size( v2 ) then&lt;br /&gt;
						return false&lt;br /&gt;
					end&lt;br /&gt;
					if size( v ) &amp;gt; 0 and size( v2 ) &amp;gt; 0 then&lt;br /&gt;
						if not table.compare( v, v2 ) then &lt;br /&gt;
							return false &lt;br /&gt;
						end&lt;br /&gt;
					end	&lt;br /&gt;
				elseif &lt;br /&gt;
					type( v ) == 'string' or type( v ) == 'number' and&lt;br /&gt;
					type( v2 ) == 'string' or type( v2 ) == 'number'&lt;br /&gt;
				then&lt;br /&gt;
					if v ~= v2 then&lt;br /&gt;
						return false&lt;br /&gt;
					end&lt;br /&gt;
				else&lt;br /&gt;
					return false&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				return false&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		return true&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;
&amp;lt;section name=&amp;quot;Example&amp;quot; class=&amp;quot;both&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;
--[[&lt;br /&gt;
 Well all noobs can say about this function is suck because i can compare both tables like this:&lt;br /&gt;
 a = { 1 }&lt;br /&gt;
 a2 = { 1 }&lt;br /&gt;
 print( a == a2 ) --&amp;gt; FALSE&lt;br /&gt;
 &lt;br /&gt;
 It's LIE!&lt;br /&gt;
&lt;br /&gt;
 This compare userdata of both tables.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local a1 = { 1, 2, 3 }&lt;br /&gt;
local a2 = { 1, 2, 3 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a1, a2 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&lt;br /&gt;
local a3 = { 1, { 2, 4 }, 5 }&lt;br /&gt;
local a4 = { 1, { 2, 4 }, 5 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a3, a4 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&lt;br /&gt;
local a5 = { { 1, 2, 3 }, 5 }&lt;br /&gt;
local a6 = { 1, 5 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a5, a6 ) ) --&amp;gt; FALSE condition doesn't working. Because tables are not same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local a7 = { 'a', 'b' }&lt;br /&gt;
local a8 = { 'a', 'b' }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a7, a8 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&lt;br /&gt;
local a9 = { 1, {}, 5 }&lt;br /&gt;
local a10 = { 1, {}, 5 }&lt;br /&gt;
&lt;br /&gt;
print( table.compare( a9, a10 ) ) --&amp;gt; TRUE condition working. Because tables are same.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Author: Kenix&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=35413</id>
		<title>Template:Useful Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=35413"/>
		<updated>2013-04-15T14:25:08Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[callClientFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any clientside function from the server's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[callServerFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any server-side function from the client's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[centerWindow]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function center the window in any resolution.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[Check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if it's arguments are of the right types and calls the error-function if one isn't.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[coroutine.resume]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Fix for hidden coroutine error messages&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawColorText]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a dx text with #RRGGBB color codes support.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawGifImage]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function simulates the effect of a GIF image by using image sprites.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawImage3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D image.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawRectangle3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D rectangle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetFontSizeFromHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculate a font size from given height for dxDraw.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetRealFontHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Accurately measures the pixel height of a font.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[findRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes two points and returns the direction from point A to point B.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[FormatDate]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Formats a date on the basis of a format string and returns it.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[GenerateString]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can generate a random string with any characters.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAge]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculates the age of a birthday.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayers (Client)|getAlivePlayers]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns all the alive players by a client side, so you can store them into a Gridlist or something like that, faster.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayersInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the alive players in a team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getCursorMoveOn]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks in which way the cursor is currently moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getDistanceBetweenPointAndSegment2D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes point coordinates and line (a segment) starting and ending coordinates. It returns the shortest distance between the point and the line.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getJetpackWeaponsEnabled]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of enabled weapons usable on a jetpack.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOffsetFromXYZ]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to take an entity and a position and calculate the relative offset between them accounting for rotations.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineAdmins]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function will give the online admins.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineStaff]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all online staff, names separated by two spaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayerFromNamePart]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get player From his Name part.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayersInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets all the players in a photograph.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPointFromDistanceRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds a point based on a starting point, direction and distance.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getResourceSettings]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the resource settings.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getTimestamp]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can get the UNIX timestamp.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getXMLNodes]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all children of a node&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getVehicleRespawnPosition]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get the spawn position of a vehicle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiComboBoxAdjustHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Adjusts the combobox to have a correct height.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiEditSetActive]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Puts the caret of an editbox to the gived position.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[IfElse]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns one of two values based on a boolean expression.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element was in the player's camera picture.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInRange]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to check is the element's range to the main point is smaller than (or as big as) the maximum range.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementMoving]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element is moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPedAiming]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if a ped is aiming.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPlayerInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if the player in the team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isLeapYear]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Checks if the given year is a leap year.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isVehicleOnRoof]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks whether vehicle is on roof.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[iterElements]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns an iterator for your for loops saving time typing ipairs( getElementsByType( type ) ), instead you type: iterElements( type ).&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[math.round]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Rounds a number whereas the number of decimals to keep and the method may be set.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[multi_check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks one element to many, handy and clean.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[onVehicleWeaponFire]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This code implements an event that is triggered when a player in a vehicle fires a vehicles weapon.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to set moving element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setTableProtected]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Protects a table and makes it read-only.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setVehicleGravityPoint]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function sets a vehicle's gravity in the direction of a 3 dimensional coordinate with the strength specified.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[smoothMoveCamera]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function allows you to create a cinematic camera flight.&lt;br /&gt;
*[[string.count]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function counts a text from a text.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[string.explode]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function splits a string at a given separator pattern and returns a table with the pieces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[switch]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allow the value of a variable or expression to control the flow of program execution via a multiway branch.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.copy]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function copies a whole table and all the tables in that table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.compare]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if both tables is equal. &amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.empty]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check is empty table or not.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.map]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function goes through a table and replaces every field with the return of the passed function, where the field's value is passed as first argument and optionally more arguments.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.random]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function retrieves a random variable from a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.size]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds the absolute size of a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[var dump]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function outputs information about one or more variables using outputConsole()&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[RGBToHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a string representing the color in hexadecimal.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[toHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a decimal number to a hexadecimal number, as a fix to be used clientside.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[wavelengthToRGBA]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a phisical wavelength of light to a RGBA color.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[convertNumber]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts large numbers and adds commas to it. (Example: 100000 -&amp;gt; 100,000)&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayerFromSerial]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets an online player from their serial.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPlayerInACL]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns true, if the player is in the given ACL, if they're not, it will return false.&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Useful Functions]]&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35276</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35276"/>
		<updated>2013-04-03T17:12:02Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table pregMatch ( string base, string pattern )&lt;br /&gt;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
bool pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/Remove/GetDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35275</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35275"/>
		<updated>2013-04-03T16:54:57Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table pregMatch ( string base, string pattern )&lt;br /&gt;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
bool pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/RemoveDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35274</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35274"/>
		<updated>2013-04-03T16:51:07Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/RemoveDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
pDefaultWindowLabel:SetColor( { 255, 0, 255, 123 } );&lt;br /&gt;
&lt;br /&gt;
pDefaultWindowLabel.OnClick = function()&lt;br /&gt;
 outputChatBox( 'smth' );&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35273</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35273"/>
		<updated>2013-04-03T16:49:44Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/RemoveDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
p&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35272</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35272"/>
		<updated>2013-04-03T16:49:24Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/RemoveDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
OnClick&lt;br /&gt;
OnEdit&lt;br /&gt;
OnMouseEnter&lt;br /&gt;
OnMouseLeave&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
pDefaultWindow = CDrawing():Window( 'Default window' );&lt;br /&gt;
pDefaultWindowLabel = pDefaultWindow:Label( 'Default label' );&lt;br /&gt;
p&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35271</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35271"/>
		<updated>2013-04-03T16:46:50Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Add/RemoveDrawingPoints&lt;br /&gt;
G/SetOffset&lt;br /&gt;
G/SetPosition&lt;br /&gt;
G/SetBackgroundColor&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35270</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35270"/>
		<updated>2013-04-03T16:44:47Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth like OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
Ingame Editor ( with output code and etc )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35269</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35269"/>
		<updated>2013-04-03T16:43:52Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35268</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35268"/>
		<updated>2013-04-03T16:41:51Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
CDrawing:&lt;br /&gt;
 Custom&lt;br /&gt;
 Circle&lt;br /&gt;
 Rectangle&lt;br /&gt;
 Star&lt;br /&gt;
 Square&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
Window&lt;br /&gt;
Label&lt;br /&gt;
Editbox&lt;br /&gt;
Combobox&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
:G/SetColor&lt;br /&gt;
:G/SetPosition&lt;br /&gt;
:G/SetStyle&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
delete( pObject ); &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35267</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35267"/>
		<updated>2013-04-03T16:39:07Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write drawing lib used smth OOP in Lua&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35266</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35266"/>
		<updated>2013-04-03T16:37:45Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;br /&gt;
* Write custom drawing lib resource&lt;br /&gt;
All figures ( custom with your points too )&lt;br /&gt;
All elements ( label, checkbox, combobox, editbox, .. )&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
pCustomWindow = CDrawing():Custom();&lt;br /&gt;
-- x, y points&lt;br /&gt;
pCustomWindow:AddDrawingPoints( { { 2, 5, 10, 5, 2, 1, 10, 1 } );&lt;br /&gt;
pCustomWindowTitle = pCustomWindow:Title( 'Title' );&lt;br /&gt;
pCustomWindowTitle:SetPosition( { ... } );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35205</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35205"/>
		<updated>2013-03-25T21:44:41Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Add more arguments for function setWorldSpecialPropertyEnabled.&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35204</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35204"/>
		<updated>2013-03-25T21:43:36Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function setWorldSpecialPropertyEnabled ( string propname, bool enable ) on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
Property:&lt;br /&gt;
&amp;quot;LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE&amp;quot; ( Disable extra air resistance ) 0x72DDD9 = 0&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setWorldSpecialPropertyEnabled ( string propname, bool enable )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35203</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35203"/>
		<updated>2013-03-25T21:27:41Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* Disable extra air resistance 0x72DDD9 = 0&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35164</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35164"/>
		<updated>2013-03-16T20:28:59Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developer &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35163</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35163"/>
		<updated>2013-03-16T20:28:49Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Zombie hell party developper &amp;amp; staff member.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35162</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35162"/>
		<updated>2013-03-16T20:21:13Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Multi Game MTA developper/owner.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=35068</id>
		<title>Template:Useful Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=35068"/>
		<updated>2013-03-09T17:25:49Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[callClientFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any clientside function from the server's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[callServerFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any server-side function from the client's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[centerWindow]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function center the window in any resolution.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[Check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if it's arguments are of the right types and calls the error-function if one isn't.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[coroutine.resume]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Fix for hidden coroutine error messages&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawColorText]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a dx text with #RRGGBB color codes support.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawGifImage]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function simulates the effect of a GIF image by using image sprites.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawImage3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D image.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawRectangle3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D rectangle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetFontSizeFromHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculate a font size from given height for dxDraw.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetRealFontHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Accurately measures the pixel height of a font.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[findRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes two points and returns the direction from point A to point B.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[FormatDate]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Formats a date on the basis of a format string and returns it.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[GenerateString]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can generate a random string with any characters.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAge]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculates the age of a birthday.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayers (Client)|getAlivePlayers]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns all the alive players by a client side, so you can store them into a Gridlist or something like that, faster.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayersInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the alive players in a team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getCursorMoveOn]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks in which way the cursor is currently moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getDistanceBetweenPointAndSegment2D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes point coordinates and line (a segment) starting and ending coordinates. It returns the shortest distance between the point and the line.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getJetpackWeaponsEnabled]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of enabled weapons usable on a jetpack.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOffsetFromXYZ]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to take an entity and a position and calculate the relative offset between them accounting for rotations.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineAdmins]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function will give the online admins.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineStaff]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all online staff, names separated by two spaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayerFromNamePart]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get player From his Name part.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayersInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets all the players in a photograph.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPointFromDistanceRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds a point based on a starting point, direction and distance.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getResourceSettings]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the resource settings.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getTimestamp]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can get the UNIX timestamp.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getXMLNodes]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all children of a node&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getVehicleRespawnPosition]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get the spawn position of a vehicle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiComboBoxAdjustHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Adjusts the combobox to have a correct height.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiEditSetActive]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Puts the caret of an editbox to the gived position.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[IfElse]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns one of two values based on a boolean expression.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element was in the player's camera picture.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInRange]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to check is the element's range to the main point is smaller than (or as big as) the maximum range.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[IsElementMoving]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element is moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPedAiming]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if a ped is aiming.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPlayerInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if the player in the team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isLeapYear]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Checks if the given year is a leap year.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isVehicleOnRoof]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks whether vehicle is on roof.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[iterElements]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns an iterator for your for loops saving time typing ipairs( getElementsByType( type ) ), instead you type: iterElements( type ).&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[math.round]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Rounds a number whereas the number of decimals to keep and the method may be set.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[multi_check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks one element to many, handy and clean.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[onVehicleWeaponFire]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This code implements an event that is triggered when a player in a vehicle fires a vehicles weapon.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to set moving element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setTableProtected]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Protects a table and makes it read-only.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setVehicleGravityPoint]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function sets a vehicle's gravity in the direction of a 3 dimensional coordinate with the strength specified.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[smoothMoveCamera]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function allows you to create a cinematic camera flight.&lt;br /&gt;
*[[string.count]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function counts a text from a text.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[string.explode]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function splits a string at a given separator pattern and returns a table with the pieces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[switch]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allow the value of a variable or expression to control the flow of program execution via a multiway branch.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.copy]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function copies a whole table and all the tables in that table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.condition]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if both tables is equal. &amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.empty]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check is empty table or not.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.map]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function goes through a table and replaces every field with the return of the passed function, where the field's value is passed as first argument and optionally more arguments.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.random]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function retrieves a random variable from a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.size]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds the absolute size of a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[var dump]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function outputs information about one or more variables using outputConsole()&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[RGBToHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a string representing the color in hexadecimal.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[toHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a decimal number to a hexadecimal number, as a fix to be used clientside.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[wavelengthToRGBA]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a phisical wavelength of light to a RGBA color.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[convertNumber]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts large numbers and adds commas to it. (Example: 100000 -&amp;gt; 100,000)&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Useful Functions]]&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=35066</id>
		<title>Template:Useful Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=35066"/>
		<updated>2013-03-09T17:22:37Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[callClientFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any clientside function from the server's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[callServerFunction]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to call any server-side function from the client's side.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[centerWindow]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function center the window in any resolution.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[Check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if it's arguments are of the right types and calls the error-function if one isn't.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[coroutine.resume]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Fix for hidden coroutine error messages&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawColorText]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a dx text with #RRGGBB color codes support.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawGifImage]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function simulates the effect of a GIF image by using image sprites.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawImage3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D image.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxDrawRectangle3D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function draws a 3D rectangle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetFontSizeFromHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculate a font size from given height for dxDraw.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[dxGetRealFontHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Accurately measures the pixel height of a font.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[findRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes two points and returns the direction from point A to point B.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[FormatDate]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Formats a date on the basis of a format string and returns it.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[GenerateString]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can generate a random string with any characters.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAge]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function calculates the age of a birthday.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayers (Client)|getAlivePlayers]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns all the alive players by a client side, so you can store them into a Gridlist or something like that, faster.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getAlivePlayersInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the alive players in a team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getCursorMoveOn]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks in which way the cursor is currently moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getDistanceBetweenPointAndSegment2D]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Takes point coordinates and line (a segment) starting and ending coordinates. It returns the shortest distance between the point and the line.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getJetpackWeaponsEnabled]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of enabled weapons usable on a jetpack.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOffsetFromXYZ]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to take an entity and a position and calculate the relative offset between them accounting for rotations.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineAdmins]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function will give the online admins.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getOnlineStaff]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all online staff, names separated by two spaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayerFromNamePart]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get player From his Name part.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPlayersInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function gets all the players in a photograph.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getPointFromDistanceRotation]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds a point based on a starting point, direction and distance.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getResourceSettings]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a table of the resource settings.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getTimestamp]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» With this function you can get the UNIX timestamp.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getXMLNodes]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns all children of a node&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[getVehicleRespawnPosition]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to get the spawn position of a vehicle.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiComboBoxAdjustHeight]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Adjusts the combobox to have a correct height.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[guiEditSetActive]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Puts the caret of an editbox to the gived position.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[IfElse]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns one of two values based on a boolean expression.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInPhotograph]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element was in the player's camera picture.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isElementInRange]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to check is the element's range to the main point is smaller than (or as big as) the maximum range.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[IsElementMoving]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if an element is moving.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPedAiming]]&amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks if a ped is aiming.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isPlayerInTeam]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if the player in the team.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isLeapYear]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Checks if the given year is a leap year.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[isVehicleOnRoof]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks whether vehicle is on roof.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[iterElements]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Returns an iterator for your for loops saving time typing ipairs( getElementsByType( type ) ), instead you type: iterElements( type ).&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[math.round]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Rounds a number whereas the number of decimals to keep and the method may be set.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[multi_check]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function checks one element to many, handy and clean.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[onVehicleWeaponFire]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This code implements an event that is triggered when a player in a vehicle fires a vehicles weapon.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setElementSpeed]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allows you to set moving element speed in kph or mph units.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setTableProtected]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Protects a table and makes it read-only.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[setVehicleGravityPoint]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function sets a vehicle's gravity in the direction of a 3 dimensional coordinate with the strength specified.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[smoothMoveCamera]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This clientside function allows you to create a cinematic camera flight.&lt;br /&gt;
*[[string.count]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function counts a text from a text.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[string.explode]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function splits a string at a given separator pattern and returns a table with the pieces.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[switch]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function allow the value of a variable or expression to control the flow of program execution via a multiway branch.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.copy]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function copies a whole table and all the tables in that table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.condition]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check if both tables is equal. &amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.empty]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check is empty table or not.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.assoc]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function check is table associative or not.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.map]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function goes through a table and replaces every field with the return of the passed function, where the field's value is passed as first argument and optionally more arguments.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.random]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function retrieves a random variable from a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[table.size]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» Finds the absolute size of a table.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[var dump]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function outputs information about one or more variables using outputConsole()&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[RGBToHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function returns a string representing the color in hexadecimal.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[toHex]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a decimal number to a hexadecimal number, as a fix to be used clientside.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[wavelengthToRGBA]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts a phisical wavelength of light to a RGBA color.&amp;lt;/span&amp;gt;&lt;br /&gt;
*[[convertNumber]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function converts large numbers and adds commas to it. (Example: 100000 -&amp;gt; 100,000)&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Useful Functions]]&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35056</id>
		<title>User:Kenix1</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Kenix1&amp;diff=35056"/>
		<updated>2013-02-28T17:39:31Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{MTA Developer}}&lt;br /&gt;
Multi Game MTA developper/owner.&lt;br /&gt;
&lt;br /&gt;
Kenix's '''TODO''' list:&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write function guiLabelGetColor on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int int int guiLabelGetColor ( element guiLabel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side&amp;lt;/strike&amp;gt;&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;
string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions getEventHandlers on client/server side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getEventHandlers ( string eventName, element attachedTo )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
setMoonSize ( int size ) -- set's size of the moon, possible values &amp;gt;= 0&lt;br /&gt;
getMoonSize ()&lt;br /&gt;
resetMoonSize ()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;strike&amp;gt;Write nitro functions on client side&amp;lt;/strike&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool isVehicleNitroRecharging ( vehicle theVehicle )&lt;br /&gt;
bool isVehicleNitroActivated ( vehicle theVehicle )&lt;br /&gt;
int getVehicleNitroCount ( vehicle theVehicle )&lt;br /&gt;
float getVehicleNitroLevel ( vehicle theVehicle )&lt;br /&gt;
&lt;br /&gt;
bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) &lt;br /&gt;
bool setVehicleNitroCount ( vehicle theVehicle, int iCount )&lt;br /&gt;
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''Nitro issues'''&lt;br /&gt;
* Nitro particle doesn't synced&lt;br /&gt;
* &amp;lt;strike&amp;gt;onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Nitro upgrade automaticly removed by increment ( nitro count 1 -&amp;gt; use nitro -&amp;gt; nitro is empty -&amp;gt; nitro count now 0 -&amp;gt; nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists. &lt;br /&gt;
* Need better function for check if nitro exists. Because if use getVehicleNitroCount &amp;gt; 0 make nonsense if we use last nitro ( nitro count changed to zero ). &lt;br /&gt;
'''Next functions'''&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add regular stuff like: pregMatch, pregReplace, pregFind &amp;lt;/strike&amp;gt;&lt;br /&gt;
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire&lt;br /&gt;
* Trying to make setPedAimTarget working for localPlayer too&lt;br /&gt;
* Add a multilanguage support&lt;br /&gt;
* Trying to fix custom animations brunch&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=35046</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=35046"/>
		<updated>2013-02-25T17:12:49Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function find only one match and when match is founded stop working and return a result.&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 pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for find one match.&lt;br /&gt;
*'''pattern:''' The pattern for find in base string.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[bool]]'' if the function was successful found one match, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- hello word find&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- integer number find&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Login with a-z and A-Z symbols and have more 3 symbols and without any spaces&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- RP nickname check&lt;br /&gt;
                outputDebugString( pregFind( 'Garry_Newman', '([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Russian hello ( привет ) find&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=35039</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=35039"/>
		<updated>2013-02-25T14:40:57Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for match in base string.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( 'hello hello', '(hello)'  ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=35038</id>
		<title>PregMatch</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregMatch&amp;diff=35038"/>
		<updated>2013-02-25T12:59:00Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: Created page with &amp;quot;__NOTOC__ {{Server client function}} {{New feature/item|4.014|1.4|5106| This function returns all matches. }}  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; table pregMatch ( string base, string patt...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function returns all matches.&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;
table pregMatch ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for replace in base string.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[table]]'' if one match founded and more, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                --[[&lt;br /&gt;
                Will print:&lt;br /&gt;
                Match: 1, hello&lt;br /&gt;
                Match: 2, hello&lt;br /&gt;
                ]] &lt;br /&gt;
                for i, v in ipairs( pregMatch( 'hello hello', '(hello)'  ) ) do&lt;br /&gt;
	            outputDebugString( 'Match: ' .. i .. ', ' .. v )&lt;br /&gt;
                end&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=35037</id>
		<title>PregReplace</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=35037"/>
		<updated>2013-02-25T12:54:19Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function replace all matches and return replaced string.&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;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for replace in base string.&lt;br /&gt;
*'''replace:''' The [[string]] for replace.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an replaced ''[[string]]'', ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- Replace doh to done&lt;br /&gt;
		outputDebugString( pregReplace( 'I doh this, guys.', 'doh', 'done' ) or 'not replaced' ) -- I done this, guys&lt;br /&gt;
                -- Replace all A-Z symbols to none string&lt;br /&gt;
                outputDebugString( pregReplace( 'AaaBbbZzz', '[A-Z]{1,}', '' ) or 'not replaced' ) -- aabbzz&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=35036</id>
		<title>PregReplace</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregReplace&amp;diff=35036"/>
		<updated>2013-02-25T12:53:36Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: Created page with &amp;quot;__NOTOC__ {{Server client function}} {{New feature/item|4.014|1.4|5106| This function replace all matches and return replaced string. }}  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string pregRepl...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function replace all matches and return replaced string.&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;
string pregReplace ( string base, string pattern, string replace )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for replace.&lt;br /&gt;
*'''pattern:''' The pattern for replace in base string.&lt;br /&gt;
*'''replace:''' The [[string]] for replace.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an replaced ''[[string]]'', ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- Replace doh to done&lt;br /&gt;
		outputDebugString( pregReplace( 'I doh this, guys.', 'doh', 'done' ) or 'not replaced' ) -- I done this, guys&lt;br /&gt;
                -- Replace all integer number to none string&lt;br /&gt;
                outputDebugString( pregReplace( 'AaaBbbZzz', '[A-Z]{1,}', '' ) or 'not replaced' ) -- aabbzz&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=35035</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=35035"/>
		<updated>2013-02-25T12:38:53Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function find only one match and when match is founded stop working and return a result.&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 pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for find one match.&lt;br /&gt;
*'''pattern:''' The pattern for find in base string.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[bool]]'' if the function was successful found one match, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- hello word find&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- integer number find&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Login with a-z and A-Z symbols and have more 3 symbols and without any spaces&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '^[a-zA-Z]{3,}$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Russian hello ( привет ) find&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=35034</id>
		<title>PregFind</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PregFind&amp;diff=35034"/>
		<updated>2013-02-25T12:32:50Z</updated>

		<summary type="html">&lt;p&gt;Kenix1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
{{New feature/item|4.014|1.4|5106|&lt;br /&gt;
This function find only one match and when match is founded stop working and return a result.&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 pregFind ( string base, string pattern )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''base:''' The base [[string]] for find one match.&lt;br /&gt;
*'''pattern:''' The pattern for find in base string.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an ''[[bool]]'' if the function was successful found one match, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Shared ( client and server )&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Some examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler( 'examples',&lt;br /&gt;
	function( )&lt;br /&gt;
                -- hello word find&lt;br /&gt;
		outputDebugString( pregFind( 'hello world, hello world, hello world', 'hello world' ) and 'found' or 'not found' ) -- found &lt;br /&gt;
                -- integer number find&lt;br /&gt;
                outputDebugString( pregFind( '123', '^-{0,1}\\d+$' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Login with a-z and A-Z symbols and have more 3 symbols&lt;br /&gt;
                outputDebugString( pregFind( 'Kenix', '[a-zA-Z]{3,}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Russian hello ( привет ) find&lt;br /&gt;
                outputDebugString( pregFind( 'Всем привет парни, ещё раз привет :D', 'привет' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
                -- Sequence of numbers&lt;br /&gt;
                outputDebugString( pregFind( '5, 10', '^([1-9]{1}[0-9]{0,})+(((,\s|,)[1-9]{1}[0-9]{0,}){0,1}){1,1}' ) and 'found' or 'not found' ) -- found&lt;br /&gt;
	end&lt;br /&gt;
)&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|1.4-9.05106|1.4-9.05106|}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Utility_functions}}&lt;/div&gt;</summary>
		<author><name>Kenix1</name></author>
	</entry>
</feed>