<?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=Alexander</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=Alexander"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Alexander"/>
	<updated>2026-04-15T21:29:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/changelog&amp;diff=36228</id>
		<title>Template:Modules/cURL/changelog</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/changelog&amp;diff=36228"/>
		<updated>2013-05-27T14:21:06Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Version 1.2==&lt;br /&gt;
&lt;br /&gt;
* Added a data return value to curl_perform, it now returns curlcode, data&lt;br /&gt;
* Removed the second argument curl_perform, it now only accepts the curl handle&lt;br /&gt;
* fixed curl_init( string url ). It now works correctly&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/changelog&amp;diff=36227</id>
		<title>Template:Modules/cURL/changelog</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/changelog&amp;diff=36227"/>
		<updated>2013-05-27T14:20:56Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;==Version 1.2== === * Added a data return value to curl_perform, it now returns curlcode, data * Removed the second argument curl_perform, it now only accepts the curl handle * f...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Version 1.2==&lt;br /&gt;
===&lt;br /&gt;
* Added a data return value to curl_perform, it now returns curlcode, data&lt;br /&gt;
* Removed the second argument curl_perform, it now only accepts the curl handle&lt;br /&gt;
* fixed curl_init( string url ). It now works correctly&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=36226</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=36226"/>
		<updated>2013-05-27T14:19:44Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.2 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |&lt;br /&gt;
  download_link  = ''[https://dl.dropboxusercontent.com/u/10711598/mta_curl/1.2/mta_curl_win32.zip Here]'' |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Windows|&lt;br /&gt;
  compatible_with = 1.3.0, 1.3.1, 1.3.2 |&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]&lt;br /&gt;
&lt;br /&gt;
You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]]&lt;br /&gt;
&lt;br /&gt;
Update 27-5-2013&lt;br /&gt;
&lt;br /&gt;
I released the version 1.2, this build is not yet available for linux.&lt;br /&gt;
&lt;br /&gt;
Most important update is how the module works the result data from a call. Please check out curl_perform function to see how you retrieve the data from a call.&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Modules/cURL]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{Modules/cURL/changelog}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/changelog&amp;diff=36225</id>
		<title>Modules/cURL/changelog</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/changelog&amp;diff=36225"/>
		<updated>2013-05-27T14:18:26Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;The changelog for the module cURL  Version 1.2  ---- * Added a data return value to curl_perform, it now returns curlcode, data * Removed the second argument curl_perform, it now...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The changelog for the module cURL&lt;br /&gt;
&lt;br /&gt;
Version 1.2&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* Added a data return value to curl_perform, it now returns curlcode, data&lt;br /&gt;
* Removed the second argument curl_perform, it now only accepts the curl handle&lt;br /&gt;
* fixed curl_init( string url ). It now works correctly&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_perform&amp;diff=36224</id>
		<title>Modules/cURL/curl perform</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_perform&amp;diff=36224"/>
		<updated>2013-05-27T14:15:38Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Let cURL do his work now, by call this function.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_perform(curl handler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns a curl code, if the code is CURLE_OK then your good. Other wise pass this code to curl_strerror, and then you will know what is going on.&lt;br /&gt;
On a success call it will return the data as a second argument.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    result, data = curl_perform(curl);&lt;br /&gt;
    if result == CURLE_OK then&lt;br /&gt;
        print(data)&lt;br /&gt;
    end&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=36223</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=36223"/>
		<updated>2013-05-27T14:13:11Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.2 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |&lt;br /&gt;
  download_link  = ''[https://dl.dropboxusercontent.com/u/10711598/mta_curl/1.2/mta_curl_win32.zip Here]'' |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Windows|&lt;br /&gt;
  compatible_with = 1.3.0, 1.3.1, 1.3.2 |&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]&lt;br /&gt;
&lt;br /&gt;
You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]]&lt;br /&gt;
&lt;br /&gt;
Update 27-5-2013&lt;br /&gt;
&lt;br /&gt;
I released the version 1.2, this build is not yet available for linux.&lt;br /&gt;
&lt;br /&gt;
Most important update is how the module works the result data from a call. Please check out curl_perform function to see how you retrieve the data from a call.&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Modules/cURL]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=36222</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=36222"/>
		<updated>2013-05-27T11:11:13Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.1 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |&lt;br /&gt;
  download_link  = ''[https://github.com/mrdejong/mta_curl/downloads Here]'' |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Windows &amp;amp; Linux|&lt;br /&gt;
  compatible_with = 1.3.0, 1.3.1, 1.3.2 |&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]&lt;br /&gt;
&lt;br /&gt;
You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]]&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Modules/cURL]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_check&amp;diff=30083</id>
		<title>Multi check</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_check&amp;diff=30083"/>
		<updated>2012-04-26T11:45:46Z</updated>

		<summary type="html">&lt;p&gt;Alexander: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&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 checks one argument up to many, this is really handy for checking illegal weapons.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean multi_check( *source, mixed ... )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''source''': The base element to check up against&lt;br /&gt;
* '''...''': Many arguments witch will be checked up against the '''source'''&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Function source&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 multi_check( source, ... )&lt;br /&gt;
	local arguments = { ... };&lt;br /&gt;
&lt;br /&gt;
	for _, argument in ipairs( arguments ) do&lt;br /&gt;
		if argument == source then&lt;br /&gt;
			return true;&lt;br /&gt;
		end&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;
==Example==&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;
addEventHandler( &amp;quot;onPlayerWeaponSwitch&amp;quot;, getRootElement( ),&lt;br /&gt;
	function( previousWeapon, currentWeapon )&lt;br /&gt;
		if multi_check( currentWeapon, 1, 2, 3 ) then&lt;br /&gt;
			outputChatBox( &amp;quot;You are not allowed to use that weapon&amp;quot;, source );&lt;br /&gt;
			toggleControl( source, &amp;quot;fire&amp;quot;, false );&lt;br /&gt;
		else&lt;br /&gt;
			toggleControl( source, &amp;quot;fire&amp;quot;, true );&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;
Function created by '''Alexander de Jong AKA mrdejong'''.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Multi_check&amp;diff=30082</id>
		<title>Multi check</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Multi_check&amp;diff=30082"/>
		<updated>2012-04-26T11:45:10Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot; {{Useful Function}} &amp;lt;lowercasetitle&amp;gt;&amp;lt;/lowercasetitle&amp;gt; __NOTOC__ This function checks one argument up to many, this is really handy for checking illegal weapons.  ==Syntax== &amp;lt;cod...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&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 checks one argument up to many, this is really handy for checking illegal weapons.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;boolean multi_check( *source, mixed ... )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''source''': The base element to check up against&lt;br /&gt;
* '''...''': Many arguments witch will be checked up against the '''source'''&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Function source&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 multi_check( source, ... )&lt;br /&gt;
	local arguments = { ... };&lt;br /&gt;
&lt;br /&gt;
	for _, argument in ipairs( arguments ) do&lt;br /&gt;
		if argument == source then&lt;br /&gt;
			return true;&lt;br /&gt;
		end&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;
==Example==&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;
addEventHandler( &amp;quot;onPlayerWeaponSwitch&amp;quot;, getRootElement( ),&lt;br /&gt;
	function( previousWeapon, currentWeapon )&lt;br /&gt;
		if multi_check( currentWeapon, 1, 2, 3 ) then&lt;br /&gt;
			outputChatBox( &amp;quot;You are not allowed to use that weapon&amp;quot;, source );&lt;br /&gt;
			toggleControl( source, &amp;quot;fire&amp;quot;, false );&lt;br /&gt;
		else&lt;br /&gt;
			toggleControl( source, &amp;quot;fire', true );&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;
Function created by '''Alexander de Jong AKA mrdejong'''.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Useful_Functions}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&amp;diff=30081</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=30081"/>
		<updated>2012-04-26T11:41:57Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &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;
&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;
&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;
&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;
&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;
&lt;br /&gt;
*[[doForAllElements]] &amp;lt;span style=&amp;quot;color:gray; font-family:'Georgia',sans-serif; font-size:smaller;&amp;quot;&amp;gt;» This function can be used to execute a specified function for all elements of a specified type.&amp;lt;/span&amp;gt;&lt;br /&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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 [http://en.wikipedia.org/wiki/Unix_time UNIX timestamp].&amp;lt;/span&amp;gt;&lt;br /&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&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;
&lt;br /&gt;
[[Category:Useful Functions]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_pause&amp;diff=29631</id>
		<title>Modules/cURL/curl pause</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_pause&amp;diff=29631"/>
		<updated>2012-03-15T09:05:17Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Modules/cURL/func_page|&lt;br /&gt;
description		= Pause a request or result|&lt;br /&gt;
syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;CURLcode curl_pause(CURL handler, int bitmask)&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
required_arguments      = * '''handler''' The curl handler&lt;br /&gt;
* '''bitmask''' An integer representing what you want to pause. Read more about this [[Modules/cURL/variables/CURLPAUSE|here]]|&lt;br /&gt;
optional_arguments	= None|&lt;br /&gt;
returns			= Returns a CURLcode, if everything is oke it returns CURLE_OK|&lt;br /&gt;
example			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_pause( curl, CURLPAUSE_RECV );&lt;br /&gt;
curl_perform( ... );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=29630</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=29630"/>
		<updated>2012-03-15T09:02:56Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.1 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |&lt;br /&gt;
  download_link  = ''[https://github.com/mrdejong/mta_curl/downloads Here]'' |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Windows &amp;amp; Linux|&lt;br /&gt;
  compatible_with = 1.3.0 |&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]&lt;br /&gt;
&lt;br /&gt;
You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]]&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=29629</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=29629"/>
		<updated>2012-03-15T09:02:39Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[https://github.com/mrdejong/mta_curl Here]'' |&lt;br /&gt;
  download_link  = ''[https://github.com/mrdejong/mta_curl/downloads Here]'' |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD] |&lt;br /&gt;
  written_in     = C++ |&lt;br /&gt;
  operating_system = Windows &amp;amp; Linux|&lt;br /&gt;
  compatible_with = 1.3.0 |&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
If you found any bugs, please post them on the [[https://github.com/mrdejong/mta_curl/issues|github page]]&lt;br /&gt;
&lt;br /&gt;
You can find the source at the [[https://github.com/mrdejong/mta_curl|github repository]]&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/variables/CURLPAUSE&amp;diff=29628</id>
		<title>Modules/cURL/variables/CURLPAUSE</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/variables/CURLPAUSE&amp;diff=29628"/>
		<updated>2012-03-15T08:58:20Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;* '''CURLPAUSE_RECV''' - Pause receiving data. * '''CURLPAUSE_SEND''' - Pause sending a request. * '''CURLPAUSE_ALL''' - Pause requesting and receiving. * '''CURLPAUSE_CONT''' - ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* '''CURLPAUSE_RECV''' - Pause receiving data.&lt;br /&gt;
* '''CURLPAUSE_SEND''' - Pause sending a request.&lt;br /&gt;
* '''CURLPAUSE_ALL''' - Pause requesting and receiving.&lt;br /&gt;
* '''CURLPAUSE_CONT''' - Unpause both receiving and requesting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature variables (not yet implemented) ==&lt;br /&gt;
* '''CURLPAUSE_RECV_CONT''' - Unpause receiving data.&lt;br /&gt;
* '''CURLPAUSE_SEND_CONT''' - Unpause a request.&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_pause&amp;diff=29627</id>
		<title>Modules/cURL/curl pause</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_pause&amp;diff=29627"/>
		<updated>2012-03-15T08:55:02Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Modules/cURL/func_page|&lt;br /&gt;
description		= Pause a request or result|&lt;br /&gt;
syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;CURLcode curl_pause(CURL handler, int bitmask)&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
required_arguments      = * '''handler''' The curl handler&lt;br /&gt;
* '''bitmask''' An integer representing what you want to pause. Read more about this [[Modules/cURL/variables/CURLPAUSE|here]]|&lt;br /&gt;
optional_arguments	= * '''url''' The url which you want to connect too.|&lt;br /&gt;
returns			= Returns a CURLcode, if everything is oke it returns CURLE_OK|&lt;br /&gt;
example			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_pause( curl, CURLPAUSE_RECV );&lt;br /&gt;
curl_perform( ... );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/variables&amp;diff=29626</id>
		<title>Template:Modules/cURL/variables</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/variables&amp;diff=29626"/>
		<updated>2012-03-15T08:54:46Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;* CURLPAUSE&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Modules/cURL/variables/CURLPAUSE|CURLPAUSE]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_pause&amp;diff=29625</id>
		<title>Modules/cURL/curl pause</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_pause&amp;diff=29625"/>
		<updated>2012-03-15T08:53:32Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;{{Modules/cURL/func_page| description		= Pause a request or result| syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;CURLcode curl_pause(CURL handler, int bitmask)&amp;lt;/syntaxhighlight&amp;gt;| required_arguments      = * '''...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Modules/cURL/func_page|&lt;br /&gt;
description		= Pause a request or result|&lt;br /&gt;
syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;CURLcode curl_pause(CURL handler, int bitmask)&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
required_arguments      = * '''handler''' The curl handler&lt;br /&gt;
* '''bitmask''' An integer representing what you want to pause. Read more about this here|&lt;br /&gt;
optional_arguments	= * '''url''' The url which you want to connect too.|&lt;br /&gt;
returns			= Returns a CURLcode, if everything is oke it returns CURLE_OK|&lt;br /&gt;
example			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_pause( curl, CURLPAUSE_RECV );&lt;br /&gt;
curl_perform( ... );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/functions&amp;diff=29624</id>
		<title>Template:Modules/cURL/functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/functions&amp;diff=29624"/>
		<updated>2012-03-15T08:46:55Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Modules/cURL/curl_init|curl_init]]&lt;br /&gt;
* [[Modules/cURL/curl_close|curl_close]]&lt;br /&gt;
* [[Modules/cURL/curl_setopt|curl_setopt]]&lt;br /&gt;
* [[Modules/cURL/curl_pause|curl_pause]]&lt;br /&gt;
* [[Modules/cURL/curl_cleanup|curl_cleanup]]&lt;br /&gt;
* [[Modules/cURL/curl_escape|curl_escape]]&lt;br /&gt;
* [[Modules/cURL/curl_perform|curl_perform]]&lt;br /&gt;
* [[Modules/cURL/curl_strerror|curl_strerror]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Admin&amp;diff=26941</id>
		<title>Resource:Admin</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Admin&amp;diff=26941"/>
		<updated>2011-08-30T20:18:00Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Resource page}}&lt;br /&gt;
A quick tutorial on how to get admin rights and install admin resource.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;MTA 1.0.0 and lower&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
'''Note:''' Since mta 1.0.5 the accounts.xml file has been removed and replaced by sqlite.&lt;br /&gt;
&lt;br /&gt;
At first, open the '''accounts.xml''' file located in '''server\mods\deathmatch\''' and add a line with your account details, like on the following example.&lt;br /&gt;
&lt;br /&gt;
[[Image:admin_accounts.png]]&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To add an account in '''MTA 1.1''' use the following command in the server&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The server needs to run for this action&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addaccount &amp;lt;username&amp;gt; &amp;lt;password&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Server should not be running when you are editing the acl file below&lt;br /&gt;
&lt;br /&gt;
Then you open the '''acl.xml''' file located in the same folder and add yourself as an object to the Admin group by using the 'user.*' syntax, where * would be your account name.&lt;br /&gt;
&lt;br /&gt;
[[Image:admin_acl.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now open your '''mtaserver.conf''' file and scroll to the bottom, make sure the admin resource is added to the ones that start with the server (note: protected=&amp;quot;1&amp;quot; means that it can not be stopped).&lt;br /&gt;
&lt;br /&gt;
[[Image:admin_mtaserver.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now that you're done with server files, you can you can finally start it. Connect to the server itself and login with your account details: use 'login [username] &amp;lt;password&amp;gt;'. If it tells you to press 'p' you have done everything right, congratulations! If not, do this from the very beginning.&lt;br /&gt;
[[Category:Scripting Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[it:Resource:Admin]]&lt;br /&gt;
[[ru:Resource:Admin]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_strerror&amp;diff=25302</id>
		<title>Modules/cURL/curl strerror</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_strerror&amp;diff=25302"/>
		<updated>2011-01-31T18:59:00Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;__NOTOC__ {{ModuleFunction|cURL}} Returns a string with detailed information of an error.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; curl_strerror(curl handler, CURLcode code) &amp;lt;/syntaxhighlight&amp;gt;  ==Required...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Returns a string with detailed information of an error.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_strerror(curl handler, CURLcode code)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
* '''code''' The curl code&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
The string containing the error, if the code was not found in the system it will return nil&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    result = curl_perform(curl, {&lt;br /&gt;
        writefunction = function(html)&lt;br /&gt;
            -- Hell what should i do with html? :S&lt;br /&gt;
        end,&lt;br /&gt;
    });&lt;br /&gt;
    print(curl_strerror(curl, result)); -- Since we know that mta exists, we sure get the text 'No error.'&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=25301</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=25301"/>
		<updated>2011-01-31T18:53:58Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[http://code.google.com/p/multitheftauto-modules/ Here]'' |&lt;br /&gt;
  download_link  = ''[http://multitheftauto-modules.googlecode.com/files/ml_curl.dll Here]'' |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD]&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_perform&amp;diff=25300</id>
		<title>Modules/cURL/curl perform</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_perform&amp;diff=25300"/>
		<updated>2011-01-31T18:48:54Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;__NOTOC__ {{ModuleFunction|cURL}} Let cURL do his work now, by call this function.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; curl_perform(curl handler[, table callbackfunctions]) &amp;lt;/syntaxhighlight&amp;gt;  ==Requ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Let cURL do his work now, by call this function.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_perform(curl handler[, table callbackfunctions])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Optional arguments==&lt;br /&gt;
* '''callbackfunctions''' A set with callback functions;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local callbacks = {&lt;br /&gt;
    writefunction = function(data)&lt;br /&gt;
        -- This is the actual return data from the call&lt;br /&gt;
    end,&lt;br /&gt;
    headerfunction = function(data)&lt;br /&gt;
        -- This is the return headers from the call. (the webserver you call sends those headers back)&lt;br /&gt;
    end&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns a curl code, if the code is CURLE_OK then your good. Other wise pass this code to curl_strerror, and then you will know what is going on.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    curl_perform(curl, {&lt;br /&gt;
        writefunction = function(html)&lt;br /&gt;
            -- Hell what should i do with html? :S&lt;br /&gt;
        end,&lt;br /&gt;
    });&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_cleanup&amp;diff=25299</id>
		<title>Modules/cURL/curl cleanup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_cleanup&amp;diff=25299"/>
		<updated>2011-01-31T18:43:12Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Cleans up the curl handle.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_cleanup(curl handler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Nothing usefull&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_perform(curl);&lt;br /&gt;
    curl_cleanup(curl);&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_escape&amp;diff=25298</id>
		<title>Modules/cURL/curl escape</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_escape&amp;diff=25298"/>
		<updated>2011-01-31T18:42:47Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Escape url's. You wont need this function if you pass the url to curl_init.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_escape(curl handler, string url)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
* '''url''' The url you want to escape&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
The escaped url, if it fails it will return nil&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_escape&amp;diff=25297</id>
		<title>Modules/cURL/curl escape</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_escape&amp;diff=25297"/>
		<updated>2011-01-31T18:41:33Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;__NOTOC__ {{ModuleFunction|cURL}} Closes the curl engine.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; curl_escape(curl handler, string url) &amp;lt;/syntaxhighlight&amp;gt;  ==Required arguments== * '''curl''' The curl ha...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Closes the curl engine.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_escape(curl handler, string url)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
* '''url''' The url you want to escape&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
The escaped url, if it fails it will return nil&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init();&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_setopt(curl, CURLOPT_URL, curl_escape(curl, &amp;quot;http://mtasa.com/&amp;quot;));&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_cleanup&amp;diff=25296</id>
		<title>Modules/cURL/curl cleanup</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_cleanup&amp;diff=25296"/>
		<updated>2011-01-31T18:39:05Z</updated>

		<summary type="html">&lt;p&gt;Alexander: Created page with &amp;quot;__NOTOC__ {{ModuleFunction|cURL}} Closes the curl engine.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; curl_cleanup(curl handler) &amp;lt;/syntaxhighlight&amp;gt;  ==Required arguments== * '''curl''' The curl handler  ==Re...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
Closes the curl engine.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl_cleanup(curl handler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
* '''curl''' The curl handler&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Nothing usefull&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    curl_perform(curl);&lt;br /&gt;
    curl_cleanup(curl);&lt;br /&gt;
    curl_close(curl);&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_init&amp;diff=25295</id>
		<title>Modules/cURL/curl init</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_init&amp;diff=25295"/>
		<updated>2011-01-31T16:16:16Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Modules/cURL/func_page|&lt;br /&gt;
description		= Initialize the curl engine.|&lt;br /&gt;
syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;curl curl_init([string url])&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
required_arguments      = *There are no required arguments.|&lt;br /&gt;
optional_arguments	= * '''url''' The url which you want to connect too.|&lt;br /&gt;
returns			= A valid curl handler on succes, otherwise it returns false|&lt;br /&gt;
example			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    // lets do something here.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/func_page&amp;diff=25294</id>
		<title>Template:Modules/cURL/func page</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/func_page&amp;diff=25294"/>
		<updated>2011-01-31T16:16:09Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ModuleFunction|cURL}}&lt;br /&gt;
{{{description}}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
{{{syntax}}}&lt;br /&gt;
&lt;br /&gt;
==Required arguments==&lt;br /&gt;
{{{required_arguments}}}&lt;br /&gt;
&lt;br /&gt;
==Optional arguments==&lt;br /&gt;
{{{optional_arguments}}}&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
{{{returns}}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{{example}}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_init&amp;diff=25293</id>
		<title>Modules/cURL/curl init</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL/curl_init&amp;diff=25293"/>
		<updated>2011-01-31T16:14:43Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Modules/cURL/func_page|&lt;br /&gt;
description		= Initialize the curl engine.|&lt;br /&gt;
syntax			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;curl curl_init([string url])&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
optional_arguments	= * '''url''' The url which you want to connect too.|&lt;br /&gt;
returns			= A valid curl handler on succes, otherwise it returns false|&lt;br /&gt;
example			= &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
curl = curl_init(&amp;quot;http://mtasa.com/&amp;quot;);&lt;br /&gt;
if not curl then&lt;br /&gt;
    outputDebugString(&amp;quot;Can't connect to http://mtasa.com/ with cURL&amp;quot;);&lt;br /&gt;
else&lt;br /&gt;
    // lets do something here.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/functions&amp;diff=25292</id>
		<title>Template:Modules/cURL/functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Modules/cURL/functions&amp;diff=25292"/>
		<updated>2011-01-31T16:12:46Z</updated>

		<summary type="html">&lt;p&gt;Alexander: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Modules/cURL/curl_init|curl_init]]&lt;br /&gt;
* [[Modules/cURL/curl_close|curl_close]]&lt;br /&gt;
* [[Modules/cURL/curl_setopt|curl_setopt]]&lt;br /&gt;
* [[Modules/cURL/curl_sleep|curl_sleep]]&lt;br /&gt;
* [[Modules/cURL/curl_cleanup|curl_cleanup]]&lt;br /&gt;
* [[Modules/cURL/curl_escape|curl_escape]]&lt;br /&gt;
* [[Modules/cURL/curl_perform|curl_perform]]&lt;br /&gt;
* [[Modules/cURL/curl_strerror|curl_strerror]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=25291</id>
		<title>Modules/cURL</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/cURL&amp;diff=25291"/>
		<updated>2011-01-31T16:09:35Z</updated>

		<summary type="html">&lt;p&gt;Alexander: /* cURL events */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Module_Info|&lt;br /&gt;
  name           = MTA Curl |&lt;br /&gt;
  version        = 1.0 |&lt;br /&gt;
  author         = [[User:mrdejong|Alexander de Jong (mrdejong)]] |&lt;br /&gt;
  module_website = ''[http://code.google.com/p/multitheftauto-modules/ Here]'' |&lt;br /&gt;
  download_link  = Coming soon |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/bsd-license.php BSD]&lt;br /&gt;
}}&lt;br /&gt;
MTA Curl module is a handy module to make restful api web calls. You could do everything with it.&lt;br /&gt;
&lt;br /&gt;
The module is based on php cURL module.&lt;br /&gt;
&lt;br /&gt;
==cURL functions==&lt;br /&gt;
{{Modules/cURL/functions}}&lt;br /&gt;
&lt;br /&gt;
==cURL variables==&lt;br /&gt;
{{Modules/cURL/variables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Alexander</name></author>
	</entry>
</feed>