<?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=OpenIDUser32</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=OpenIDUser32"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/OpenIDUser32"/>
	<updated>2026-04-27T19:00:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0&amp;diff=29257</id>
		<title>Главная страница</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0&amp;diff=29257"/>
		<updated>2012-01-31T05:37:44Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding: 5px; height: 130px;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Mtalogo.png|left|100px]]Добро пожаловать в русскоязычную вики по Multi Theft Auto. &lt;br /&gt;
Здесь вы найдёте подробную информацию по Multi Theft Auto (в том числе разработке игровых режимов и карт).&lt;br /&gt;
&lt;br /&gt;
Есть много [[RU/How you can help|способов помочь нам]] сделать MTA лучше: создать карту, игровой режим, добавить описание функции скриптинга, написать пример кода, руководство, или просто играть в MTA и сообщать о найденых багах на форум.&lt;br /&gt;
&lt;br /&gt;
Если у вас есть какие-либо вопросы по скриптингу, вы можете задать их в нашем [[IRC Channel |IRC-канале]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Input-gaming.png‎]]&amp;lt;/div&amp;gt;&lt;br /&gt;
===Играть===&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #FFEEAA;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Go-down.png|link=http://mtasa.com/]] ''' [http://mtasa.com/ Скачать Multi Theft Auto: San Andreas {{Current Version|full}}]'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[RU/Client_Manual|Руководство по клиенту]]&lt;br /&gt;
* [[Changes_in_1.3|Изменения в версии 1.3]]{{en}}&lt;br /&gt;
* [[RU/Known_Issues_-_FAQ|Известные проблемы]]&lt;br /&gt;
* [[RU/Upgrading_from_MTA:Race|Миграция с MTA:Race на MTA:SA 1.x]]&lt;br /&gt;
* [[RU/Resource:Mapmanager|Менеджер карт]]&lt;br /&gt;
* [[RU/Server_Manual|Руководство по серверу]]&lt;br /&gt;
====Редактор карт====&lt;br /&gt;
*[[RU/Resource:Editor|Руководство]]&lt;br /&gt;
*[[RU/Resource:Editor/EDF|Формат объявлений редактора]]&lt;br /&gt;
*[[RU/Resource:Editor/Plugins|Плагины]]&lt;br /&gt;
*[[RU/Resource:Editor#FAQ|Часто задаваемые вопросы]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Package-x-generic.png‎]]&amp;lt;/div&amp;gt;&lt;br /&gt;
====Базы данных====&lt;br /&gt;
В этой секции описаны все возможности Lua, предоставляемые MTA и ресурсами.&lt;br /&gt;
* [[:Category:RU/Resource|Каталог ресурсов]] - Изучите это, чтобы писать хорошие скрипты&lt;br /&gt;
* [[RU/Client side scripts | Клиентские скрипты]]&lt;br /&gt;
* [[:Category:Modules|Модули]]{{en}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Applications-development.png‎‎‎]]&amp;lt;/div&amp;gt;&lt;br /&gt;
====Разработка MTA====&lt;br /&gt;
[[File:Go-down.png|link=http://nightly.mtasa.com/]] [http://nightly.mtasa.com/ Nightly builds]&lt;br /&gt;
* [[Compiling_MTASA|Компилирование MTASA на Windows]]{{en}}&lt;br /&gt;
* [[Building_MTASA_Server_on_Mac_OS_X|Компилирование MTASA на Mac OS X]]{{en}}&lt;br /&gt;
* [[Building_MTASA_Server_on_GNU_Linux|Компилирование MTASA на GNU/Linux]]{{en}}&lt;br /&gt;
* [[Coding guidelines]]{{en}}&lt;br /&gt;
* [http://code.google.com/p/mtasa-blue Google Code SVN]&lt;br /&gt;
* [[Roadmap|План разработки]]{{en}}&lt;br /&gt;
* [http://bugs.mtasa.com/ Bugtracker]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Applications-office.png‎]]&amp;lt;/div&amp;gt;&lt;br /&gt;
=== Вики - Как я могу помочь ===&lt;br /&gt;
* Заполнить документацию для [[:Category:Incomplete|незавершенных функций]].&lt;br /&gt;
* [[:Category:Needs_Example |Добавить примеры использования функций и событий]].&lt;br /&gt;
* Проверить и подтвердить [[:Category:Needs Checking|еще непроверенные страницы]].&lt;br /&gt;
* Написать руководства для помощи новичкам.&lt;br /&gt;
* Переводить страницы.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Internet-group-chat.png‎]]&amp;lt;/div&amp;gt;&lt;br /&gt;
=== Community ===&lt;br /&gt;
* [http://forum.multitheftauto.com/ Forum]&lt;br /&gt;
* IRC: [irc://irc.multitheftauto.com/mta irc.multitheftauto.com #mta]&lt;br /&gt;
* [http://community.mtasa.com/ MTA Community] - Share and download resources.&lt;br /&gt;
* [http://www.youtube.com/user/MTAQA Youtube Channel]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
| width=&amp;quot;50%&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:Accessories-text-editor.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
====Скриптинг====&lt;br /&gt;
&lt;br /&gt;
* [[RU/Scripting Introduction|Введение в скриптинг]]&lt;br /&gt;
* [[RU/Introduction to Scripting the GUI | Введение в скриптинг пользовательского интерфейса]]&lt;br /&gt;
* [[RU/Debugging| Руководство по отладке]]&lt;br /&gt;
* [[RU/Resources| Введение в ресурсы]]&lt;br /&gt;
** [[RU/Resource Web Access | Ресурс веб-доступа]]&lt;br /&gt;
** [[:Category:RU/Resource|Каталог ресурсов]]&lt;br /&gt;
** [[RU/Meta.xml | Meta.xml]]&lt;br /&gt;
* [[RU/Writing_Gamemodes| Создание игровых режимов]]&lt;br /&gt;
* [[Useful Functions|Полезные функции]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:start-here.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
====Основная помощь по Lua====&lt;br /&gt;
Страницы, которые могут вам помочь в изучении Lua&lt;br /&gt;
*[http://www.lua.ru/doc/ Руководство по программированию на Lua (русск.)] &lt;br /&gt;
*[http://www.lua.org/pil/index.html Руководство по программированию на Lua (англ.)]&lt;br /&gt;
*[http://lua-users.org/wiki/TutorialDirectory Lua Wiki (англ.)]&lt;br /&gt;
*[http://nixstaller.berlios.de/manual/0.2/nixstaller_9.html Базовое руководство по Lua от Nixstaller (англ.)]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px; background:#CCCCFF;&amp;quot;&amp;gt;&lt;br /&gt;
====Описание====&lt;br /&gt;
* [[RU/Client Scripting Functions|Функции клиента]]&lt;br /&gt;
* [[RU/Client Scripting Events|События клиента]]&lt;br /&gt;
* [[RU/Server Scripting Functions|Функции сервера]]&lt;br /&gt;
* [[RU/Server Scripting Events|События сервера]]&lt;br /&gt;
* [[RU/MTA Classes|Классы MTA]] - Подробное описания всех специфических типов MTA&lt;br /&gt;
** [[RU/Element|Элементы MTA]] / [[RU/Element tree|Дерево элементов]]&lt;br /&gt;
&amp;lt;!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; margin:10px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; width: 32px;&amp;quot;&amp;gt;[[File:System-file-manager.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
====[[RU/Id|Список идентификаторов]]====&lt;br /&gt;
*[[RU/Animations|Анимации]]&lt;br /&gt;
*[[RU/Character Skins | Скины персонажей]]&lt;br /&gt;
*[[RU/CJ_Clothes|Одежда]]&lt;br /&gt;
*[[RU/Garage|Идентификаторы гаражей]]&lt;br /&gt;
*[[Interior IDs | Интерьеры]]&lt;br /&gt;
*[[RU/Projectiles|Снаряды]]&lt;br /&gt;
*[[RU/Radar_blips|Метки радара]]&lt;br /&gt;
*[[RU/Sounds|Звуки]]&lt;br /&gt;
*[[RU/Vehicle IDs|Транспорт]]&lt;br /&gt;
*[[RU/Vehicle_colors|Цвета транспорта]]&lt;br /&gt;
*[[RU/Vehicle Upgrades|Апгрейды транспорта]]&lt;br /&gt;
*[[RU/Weapons|Оружие]]&lt;br /&gt;
*[[RU/Weather|Погода]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
[[de:Hauptseite]]&lt;br /&gt;
[[en:Main Page]]&lt;br /&gt;
[[es:Pagina Principal]]&lt;br /&gt;
[[fr:Main Page]]&lt;br /&gt;
[[it:Pagina principale]]&lt;br /&gt;
[[nl:Main Page]]&lt;br /&gt;
[[pl:Main Page]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Funzioni_server_client&amp;diff=28635</id>
		<title>Template:IT/Funzioni server client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Funzioni_server_client&amp;diff=28635"/>
		<updated>2011-12-16T08:50:52Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;both&amp;quot; subcaption=&amp;quot;Funzioni client e server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:IT/funzioni server]][[Category:IT/funzioni client]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[en:Template:Server client function]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Funzioni_server_client&amp;diff=28634</id>
		<title>Template:IT/Funzioni server client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Funzioni_server_client&amp;diff=28634"/>
		<updated>2011-12-16T08:49:55Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;both&amp;quot; subcaption=&amp;quot;Funzioni client e server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:IT/funzioni server]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[en:Template:Server client function]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Funzioni_server_client&amp;diff=28633</id>
		<title>Template:IT/Funzioni server client</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Funzioni_server_client&amp;diff=28633"/>
		<updated>2011-12-16T08:43:21Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;both&amp;quot; subcaption=&amp;quot;Funzioni client e server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:IT/Server-side]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[en:Template:Server function]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/getProjectileForce&amp;diff=28632</id>
		<title>IT/getProjectileForce</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/getProjectileForce&amp;diff=28632"/>
		<updated>2011-12-16T08:39:11Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{IT/Funzioni client}}&lt;br /&gt;
Questa funzione restituisce la forza del proiettile specificato.&lt;br /&gt;
&lt;br /&gt;
==Sintassi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float getProjectileForce ( projectile theProjectile )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required Arguments==&lt;br /&gt;
*'''theProjectile:''' L'elemento [[IT/Elemento/Proiettile| proiettile]] la quale forza si vuole recuperare.&lt;br /&gt;
&lt;br /&gt;
==Valori restituiti==&lt;br /&gt;
Restituisce un [[IT/Float|float]] in caso di successo, altrimenti restituisce ''false''.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Client projectile functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;br /&gt;
[[en:getProjectileForce]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/setBlipColor&amp;diff=28631</id>
		<title>IT/setBlipColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/setBlipColor&amp;diff=28631"/>
		<updated>2011-12-16T08:38:08Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
Questa funzione vi permetterà di cambiare il colore di un segnalino. Questo colore è applicabile solo all'icona di default del segnalino. Tutte le altre icone ignoreranno questo.&lt;br /&gt;
&lt;br /&gt;
==Sintassi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool setBlipColor ( blip theBlip, int red, int green, int blue, int alpha )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti=== &lt;br /&gt;
*'''theBlip:''' Il segnalino del quale vuoi impostare il colore.&lt;br /&gt;
*'''red:''' La quantità di colore rosso nel colore del segnalino (0 - 255).&lt;br /&gt;
*'''green:''' La quantità di colore verde nel colore del segnalino (0 - 255).&lt;br /&gt;
*'''blue:''' La quantità di colore blu nel colore del segnalino (0 - 255).&lt;br /&gt;
*'''alpha:''' La quantità di alpha nel colore del segnalino (0 - 255).  L'Alpha decide la trasparenza dove 255 è opaco e 0 è trasparente.&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce ''true'' se il colore del segnalino è stato impostato con successo. Restituisce ''false'' se il segnalino passato alla funzione non è valido, o uno qualsiasi dei colori è fuori dall'intervallo valido.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &lt;br /&gt;
Questo esempio trovare tutti i segnalini che esistono e li imposterà tutti su bianco se non sono già bianchi.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Recuperare una tabella contenente tutti i segnalini che esistono&lt;br /&gt;
blips = getElementsByType ( &amp;quot;blip&amp;quot; )&lt;br /&gt;
-- Scorre l'elenco, e memorizza il segnalino della tabella nella variabile blipValue&lt;br /&gt;
for blipKey, blipValue in blips do&lt;br /&gt;
	-- Recuperare i colori del segnalino nelle variabili rosso, verde, blu e alfa&lt;br /&gt;
	red, green, blue, alpha = getBlipColor ( blipValue )&lt;br /&gt;
	-- Se l'icona del segnalino non è già bianca&lt;br /&gt;
	if ( red ~= 255 or green ~= 255 or blue ~= 255 or alpha ~= 255 ) then&lt;br /&gt;
		-- Imposta il coloro del segnalino su bianco&lt;br /&gt;
		setBlipColor ( blipValue, 255, 255, 255, 255 )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Blip functions}}&lt;br /&gt;
[[en:setBlipColor]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/getPlayerPing&amp;diff=28630</id>
		<title>IT/getPlayerPing</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/getPlayerPing&amp;diff=28630"/>
		<updated>2011-12-16T08:37:12Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
{{IT/Funzioni server client}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Questa funzione restituisce il ping di un [[IT/Elemento/Player|player]]. Il ping è il numero di millisecondi che i pacchetti di dati impiegano per essere inviati dal server al client o viceversa.&lt;br /&gt;
&lt;br /&gt;
==Sintassi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getPlayerPing ( player thePlayer )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Argomenti richiesti===&lt;br /&gt;
*'''thePlayer''': Il [[IT/Elemento/Player|player]] di cui vuoi determinare il ping.&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Ritorna il ping come ''integer'', o ''false'' se il giocatore selezionato non è valido.&lt;br /&gt;
&lt;br /&gt;
==Esempio==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Questo esempio verifica il ping di un giocatore che è appena entrato e lo avverte se esso supera i 100 ms.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function controllaPing()&lt;br /&gt;
	local ping = getPlayerPing(source)    -- ottiene il ping dell'elemento ''source'' (il player appena entrato)&lt;br /&gt;
	if (ping &amp;gt; 100) then                  -- se è maggiore di 100...&lt;br /&gt;
		outputChatBox(&amp;quot;Il tuo ping è alto, abbassalo se possibile.&amp;quot;, source) -- mostra un messaggio al player&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onPlayerJoin&amp;quot;, getRootElement(), controllaPing) -- aggiunge l'event handler&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;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Questo esempio verifica il ping di un giocatore quando usa il comando ''ping'' e lo avverte se esso supera i 100 ms.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function controllaPing()&lt;br /&gt;
        local ping = getPlayerPing(getLocalPlayer())  -- ottiene il ping del player del client attuale&lt;br /&gt;
        if (ping &amp;gt; 100) then                          -- se è maggiore di 100...&lt;br /&gt;
                outputChatBox(&amp;quot;Il tuo ping è alto, abbassalo se possibile.&amp;quot;, getLocalPlayer()) -- mostra un messaggio al player&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;ping&amp;quot;, controllaPing) -- aggiunge il comando ''ping''&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vedere anche==&lt;br /&gt;
{{IT/Player_functions}}&lt;br /&gt;
[[en:getPlayerPing]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IT/getLocalPlayer&amp;diff=28629</id>
		<title>IT/getLocalPlayer</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IT/getLocalPlayer&amp;diff=28629"/>
		<updated>2011-12-16T08:36:28Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{IT/MainP}}&lt;br /&gt;
{{IT/Funzioni client}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Questa funzione restituisce l'elemento [[IT/player|player]] del client che sta eseguendo lo script. &lt;br /&gt;
&lt;br /&gt;
==Sintassi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
player getLocalPlayer ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Valori restituiti===&lt;br /&gt;
Restituisce l'elemento [[IT/Elemento/Player|player]] del client attuale.&lt;br /&gt;
&lt;br /&gt;
==Esempio== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Questo esempio scrive l'attuale posizione del giocatore nella console.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local localPlayer = getLocalPlayer ( )&lt;br /&gt;
&lt;br /&gt;
function mostraPosizioneAttuale ( )&lt;br /&gt;
	-- ottiene l'attuale posizione del giocatore&lt;br /&gt;
	local px, py, pz = getElementPosition ( localPlayer )&lt;br /&gt;
	-- la scrive nella console&lt;br /&gt;
	outputConsole ( &amp;quot;La tua attuale posizione: &amp;quot; .. px .. &amp;quot; &amp;quot; .. py .. &amp;quot; &amp;quot; .. pz )&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;
==Vedere anche==&lt;br /&gt;
{{IT/Player_functions}}&lt;br /&gt;
[[en:getLocalPlayer]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Incomplete_Event&amp;diff=28628</id>
		<title>Category:Incomplete Event</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Incomplete_Event&amp;diff=28628"/>
		<updated>2011-12-16T08:03:11Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Incomplete events that need to be documented. To list an event as incomplete, add the following to the function's page: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;[[Category:Incomplete Event]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Maintenance]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Maintenance&amp;diff=28627</id>
		<title>Category:Maintenance</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Maintenance&amp;diff=28627"/>
		<updated>2011-12-16T07:59:50Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: Created page with &amp;quot;Category:MTA Wiki&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:MTA Wiki]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Incomplete&amp;diff=28626</id>
		<title>Category:Incomplete</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Incomplete&amp;diff=28626"/>
		<updated>2011-12-16T07:59:05Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of functions that need to be documented. To list a function as incomplete, add the following to the function's page: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;[[Category:Incomplete]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Maintenance]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:MTA_Wiki:Editing&amp;diff=28625</id>
		<title>Category:MTA Wiki:Editing</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:MTA_Wiki:Editing&amp;diff=28625"/>
		<updated>2011-12-16T07:56:54Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;General MTA Wiki articles.&lt;br /&gt;
&lt;br /&gt;
[[Category:MTA Wiki]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PowerupManager&amp;diff=28624</id>
		<title>PowerupManager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PowerupManager&amp;diff=28624"/>
		<updated>2011-12-16T07:21:29Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|}}&lt;br /&gt;
&lt;br /&gt;
The [[PowerupManager|powerupManager]] library was created to ease the use of advanced, more custom pickups (powerups). &lt;br /&gt;
&lt;br /&gt;
It exists out of server and client scripts to create, handle and destroy custom powerup items.&lt;br /&gt;
&lt;br /&gt;
Advanced features contain: custom clientside animations (spin, up-down), custom collision element for triggering, server side triggering (to prevent cheating), change powerup object on the fly (for example triggering such a powerup gives a random advantage based on current modelID), ...&lt;br /&gt;
&lt;br /&gt;
Also since it allows you to set a custom colShape, you can use it to create tripmines, ...&lt;br /&gt;
=Used by=&lt;br /&gt;
=Exported scripting functions=&lt;br /&gt;
==Server==&lt;br /&gt;
{{PowerupManager/ExportedServerFunctions}}&lt;br /&gt;
==Client==&lt;br /&gt;
{{PowerupManager/ExportedClientFunctions}}&lt;br /&gt;
=Events=&lt;br /&gt;
Events prefixed with pum are ceated for internal usage only. You still can hook them, but we suggest you don't.&lt;br /&gt;
==Server==&lt;br /&gt;
{{PowerupManager/ServerEvents}}&lt;br /&gt;
==Client==&lt;br /&gt;
{{PowerupManager/ClientEvents}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA_General_FAQ&amp;diff=28623</id>
		<title>MTA General FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA_General_FAQ&amp;diff=28623"/>
		<updated>2011-12-16T07:17:10Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These questions and answers are about MTA in general.&lt;br /&gt;
&lt;br /&gt;
* '''Q: When is the next version going to be released?'''&lt;br /&gt;
&lt;br /&gt;
A: When it is finished.&lt;br /&gt;
&lt;br /&gt;
* '''Q: Where can I find information about the next release?'''&lt;br /&gt;
&lt;br /&gt;
A: Try the [http://www.mtasa.com// site]. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Who is building MTA?'''&lt;br /&gt;
&lt;br /&gt;
A: MTA is built by a team of volunteers. Development was started by IJsVogel and the team then slowly started to grow. You can find a list of team members by clicking [http://multitheftauto.com/developers.html here].&lt;br /&gt;
&lt;br /&gt;
* '''Q: Are you guys being paid by Rockstar?'''&lt;br /&gt;
&lt;br /&gt;
A: No, everything we do, we do as volunteers. We are not receiving money from Rockstar or any other sponsor. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I help in the development?'''&lt;br /&gt;
&lt;br /&gt;
A: Multi Theft Auto is open-source, anyone can contribute, visit the [http://bugs.multitheftauto.com// bug tracker] to see what needs fixed.&lt;br /&gt;
&lt;br /&gt;
* '''Q: Where can I find the source?'''&lt;br /&gt;
&lt;br /&gt;
A: The source code of MTA is available for download on [http://multitheftauto.googlecode.com the Multi Theft Auto GoogleCode page].&lt;br /&gt;
&lt;br /&gt;
* '''Q: How can I donate?'''&lt;br /&gt;
&lt;br /&gt;
A: You can't; the team does not accept donations. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I place a copy on my site?'''&lt;br /&gt;
&lt;br /&gt;
A: Yes, you may provide an MTA download at your site, but you must not alter any files! &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I give this to a friend?'''&lt;br /&gt;
&lt;br /&gt;
A: Yes, it's freeware! &lt;br /&gt;
&lt;br /&gt;
* '''Q: How do I contact the team?'''&lt;br /&gt;
&lt;br /&gt;
A: You can e-mail the team at admin@multitheftauto.com, or you can use [irc://irc.multitheftauto.com IRC]. &lt;br /&gt;
&lt;br /&gt;
* '''Q: What is IRC?'''&lt;br /&gt;
&lt;br /&gt;
A: IRC (Internet Relay Chat) is the most commonly used method of internet chatting.&lt;br /&gt;
&lt;br /&gt;
* '''Q: How do I use IRC?'''&lt;br /&gt;
&lt;br /&gt;
A: Download mIRC from [http://www.mirc.com www.mirc.com] and follow the instructions that you can find [http://forum.mtavc.com/viewtopic.php?t=30 here].&lt;br /&gt;
&lt;br /&gt;
[[Category:Support]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Previous-car-method&amp;diff=28622</id>
		<title>Previous-car-method</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Previous-car-method&amp;diff=28622"/>
		<updated>2011-12-16T07:14:05Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:01a.jpg|250px|thumb|Previous car method in action. Notice the lights above the second car.]]&lt;br /&gt;
&lt;br /&gt;
This method was first used in GTA3:AM and after that in GTA3:MTA 0.1a and 0.2a. It was also used by other competing projects. This method is no longer used.&lt;br /&gt;
&lt;br /&gt;
'''What is it?'''&lt;br /&gt;
&lt;br /&gt;
* You enter a car and exit it again (the car gets stored in memory as your previous car)&lt;br /&gt;
* You enter a second car&lt;br /&gt;
* You hit a key combination on the keyboard.&lt;br /&gt;
&lt;br /&gt;
Now the client syncs your car coordinates with those of the previous car on the other computer and the other players car with your previous car. Therefore you see the other person driving your previously used car.&lt;br /&gt;
&lt;br /&gt;
It is the most basic form of multiplayer. If your previous car does not match the car of the other user then you can see the car make strange moves. Also note that traffic and peds were not synced.&lt;br /&gt;
&lt;br /&gt;
[[Category:GTA3]]&lt;br /&gt;
[[Category:Historical]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA_General_FAQ&amp;diff=28621</id>
		<title>MTA General FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA_General_FAQ&amp;diff=28621"/>
		<updated>2011-12-16T07:13:03Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These questions and answers are about MTA in general.&lt;br /&gt;
&lt;br /&gt;
* '''Q: When is the next version going to be released?'''&lt;br /&gt;
&lt;br /&gt;
A: When it is finished.&lt;br /&gt;
&lt;br /&gt;
* '''Q: Where can I find information about the next release?'''&lt;br /&gt;
&lt;br /&gt;
A: Try the [http://www.mtasa.com// site]. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Who is building MTA?'''&lt;br /&gt;
&lt;br /&gt;
A: MTA is built by a team of volunteers. Development was started by IJsVogel and the team then slowly started to grow. You can find a list of team members by clicking [http://multitheftauto.com/developers.html here].&lt;br /&gt;
&lt;br /&gt;
* '''Q: Are you guys being paid by Rockstar?'''&lt;br /&gt;
&lt;br /&gt;
A: No, everything we do, we do as volunteers. We are not receiving money from Rockstar or any other sponsor. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I help in the development?'''&lt;br /&gt;
&lt;br /&gt;
A: Multi Theft Auto is open-source, anyone can contribute, visit the [http://bugs.multitheftauto.com// bug tracker] to see what needs fixed.&lt;br /&gt;
&lt;br /&gt;
* '''Q: Where can I find the source?'''&lt;br /&gt;
&lt;br /&gt;
A: The source code of MTA is available for download on [http://multitheftauto.googlecode.com the Multi Theft Auto GoogleCode page].&lt;br /&gt;
&lt;br /&gt;
* '''Q: How can I donate?'''&lt;br /&gt;
&lt;br /&gt;
A: You can't; the team does not accept donations. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I place a copy on my site?'''&lt;br /&gt;
&lt;br /&gt;
A: Yes, you may provide an MTA download at your site, but you must not alter any files! &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I give this to a friend?'''&lt;br /&gt;
&lt;br /&gt;
A: Yes, it's freeware! &lt;br /&gt;
&lt;br /&gt;
* '''Q: How do I contact the team?'''&lt;br /&gt;
&lt;br /&gt;
A: You can e-mail the team at admin@multitheftauto.com, or you can use [irc://irc.multitheftauto.com IRC]. &lt;br /&gt;
&lt;br /&gt;
* '''Q: What is IRC?'''&lt;br /&gt;
&lt;br /&gt;
A: IRC (Internet Relay Chat) is the most commonly used method of internet chatting.&lt;br /&gt;
&lt;br /&gt;
* '''Q: How do I use IRC?'''&lt;br /&gt;
&lt;br /&gt;
A: Download mIRC from [http://www.mirc.com www.mirc.com] and follow the instructions that you can find [http://forum.mtavc.com/viewtopic.php?t=30 here].&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=MTA_General_FAQ&amp;diff=28620</id>
		<title>MTA General FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=MTA_General_FAQ&amp;diff=28620"/>
		<updated>2011-12-16T07:12:03Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These questions and answers are about MTA in general.&lt;br /&gt;
&lt;br /&gt;
* '''Q: When is the next version going to be released?'''&lt;br /&gt;
&lt;br /&gt;
A: When it is finished.&lt;br /&gt;
&lt;br /&gt;
* '''Q: Where can I find information about the next release?'''&lt;br /&gt;
&lt;br /&gt;
A: Try the [http://www.mtasa.com// site]. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Who is building MTA?'''&lt;br /&gt;
&lt;br /&gt;
A: MTA is built by a team of volunteers. Development was started by IJsVogel and the team then slowly started to grow. You can find a list of team members by clicking [http://multitheftauto.com/developers.html here].&lt;br /&gt;
&lt;br /&gt;
* '''Q: Are you guys being paid by Rockstar?'''&lt;br /&gt;
&lt;br /&gt;
A: No, everything we do, we do as volunteers. We are not receiving money from Rockstar or any other sponsor. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I help in the development?'''&lt;br /&gt;
&lt;br /&gt;
A: Multi Theft Auto is open-source, anyone can contribute, visit the [http://bugs.multitheftauto.com// bug tracker] to see what needs fixed.&lt;br /&gt;
&lt;br /&gt;
* '''Q: Where can I find the source?'''&lt;br /&gt;
&lt;br /&gt;
A: The source code of MTA is available for download on [http://multitheftauto.googlecode.com the Multi Theft Auto GoogleCode page].&lt;br /&gt;
&lt;br /&gt;
* '''Q: How can I donate?'''&lt;br /&gt;
&lt;br /&gt;
A: You can't; the team does not accept donations. &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I place a copy on my site?'''&lt;br /&gt;
&lt;br /&gt;
A: Yes, you may provide an MTA download at your site, but you must not alter any files! &lt;br /&gt;
&lt;br /&gt;
* '''Q: Can I give this to a friend?'''&lt;br /&gt;
&lt;br /&gt;
A: Yes, it's freeware! &lt;br /&gt;
&lt;br /&gt;
* '''Q: How do I contact the team?'''&lt;br /&gt;
&lt;br /&gt;
A: You can e-mail the team at admin@multitheftauto.com, or you can use [irc://irc.multitheftauto.com IRC]. &lt;br /&gt;
&lt;br /&gt;
* '''Q: What is IRC?'''&lt;br /&gt;
&lt;br /&gt;
A: IRC (Internet Relay Chat) is the most commonly used method of internet chatting.&lt;br /&gt;
&lt;br /&gt;
* '''Q: How do I use IRC?'''&lt;br /&gt;
&lt;br /&gt;
A: Download mIRC from [http://www.mirc.com www.mirc.com] and follow the instructions that you can find [http://forum.mtavc.com/viewtopic.php?t=30 here].&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[es:MTA General FAQ_ES]]&lt;br /&gt;
[[pl:MTA General FAQ PL]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DetonateSatchels&amp;diff=28619</id>
		<title>DetonateSatchels</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DetonateSatchels&amp;diff=28619"/>
		<updated>2011-12-16T07:10:13Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function can be used to detonate a players satchels.&lt;br /&gt;
{{New feature/item|0110|1.1||&lt;br /&gt;
This function is available from version 1.1 onwards.&lt;br /&gt;
}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool detonateSatchels ( )&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;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool detonateSatchels ( element Player )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns true if successful, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
The below example allows a player to detonate any of their placed satchels via the command /blowsatchels&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function blowMySatchels()&lt;br /&gt;
    detonateSatchels()&lt;br /&gt;
    outputChatBox(&amp;quot;Satchels blown!&amp;quot;, 0, 255, 0)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;blowsatchels&amp;quot;, blowMySatchels)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
&lt;br /&gt;
[[it:detonateSatchels]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DetonateSatchels&amp;diff=28618</id>
		<title>DetonateSatchels</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DetonateSatchels&amp;diff=28618"/>
		<updated>2011-12-16T07:08:30Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function can be used to detonate a players satchels.&lt;br /&gt;
&lt;br /&gt;
This function is available from version 1.1 onwards.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool detonateSatchels ( )&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;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool detonateSatchels ( element Player )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns true if successful, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
The below example allows a player to detonate any of their placed satchels via the command /blowsatchels&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function blowMySatchels()&lt;br /&gt;
    detonateSatchels()&lt;br /&gt;
    outputChatBox(&amp;quot;Satchels blown!&amp;quot;, 0, 255, 0)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;blowsatchels&amp;quot;, blowMySatchels)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
&lt;br /&gt;
[[it:detonateSatchels]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetProjectileType&amp;diff=28617</id>
		<title>GetProjectileType</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetProjectileType&amp;diff=28617"/>
		<updated>2011-12-16T07:07:58Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function returns the type of the specified projectile.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int getProjectileType ( projectile theProjectile )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required Arguments==&lt;br /&gt;
*'''theProjectile:''' The [[Element/Projectile|projectile]] element which type you want to retrieve.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns an [[int]]eger over the type of the projectile or ''false'' if invalid arguments were passed.&lt;br /&gt;
{{Projectiles}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function projectileCreation()&lt;br /&gt;
	local theType = getProjectileType(source)&lt;br /&gt;
	outputChatBox(&amp;quot;A projectile was created! It's type: &amp;quot;..theType)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onClientProjectileCreation&amp;quot;, getRootElement(), projectileCreation)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
&lt;br /&gt;
[[it:getProjectileType]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetProjectileTarget&amp;diff=28616</id>
		<title>GetProjectileTarget</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetProjectileTarget&amp;diff=28616"/>
		<updated>2011-12-16T07:06:23Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function returns the target of the specified projectile.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element getProjectileTarget ( projectile theProjectile )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required Arguments==&lt;br /&gt;
*'''theProjectile:''' The [[projectiles| projectile]] element which target you want to retrieve.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns the element which is the projectile's target if the projectile is valid and a HS Rocket Projectile, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example allows a player to send projectiles at other players&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function projectileCreating(command,targetPlayer)&lt;br /&gt;
    local x,y,z = getElementPosition(getLocalPlayer()) -- Get the position of the player&lt;br /&gt;
    local target = getPlayerFromName(targetPlayer) or nil -- Get the target, or set it to nil if no target specified&lt;br /&gt;
    local theProjectile = createProjectile(thePlayer,20,x,y,z+50,1.0,target)&lt;br /&gt;
    if (target) then&lt;br /&gt;
        outputChatBox(&amp;quot;Created projectile's target: &amp;quot;..getPlayerName(getProjectileTarget(theProjectile)))&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;Created projectile with no target&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;rocket&amp;quot;,projectileCreating) -- Bind the 'rocket' command to projectileCreating function&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
&lt;br /&gt;
[[it:getProjectileTarget]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetProjectileForce&amp;diff=28615</id>
		<title>GetProjectileForce</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetProjectileForce&amp;diff=28615"/>
		<updated>2011-12-16T07:03:58Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function returns the force of the specified projectile.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float getProjectileForce ( projectile theProjectile )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required Arguments==&lt;br /&gt;
*'''theProjectile:''' The [[projectiles| projectile]] element which force you want to retrieve.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns a [[float]] if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
[[Category:Needs_Example]]&lt;br /&gt;
&lt;br /&gt;
[[it:getProjectileForce]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateProjectile&amp;diff=28614</id>
		<title>CreateProjectile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateProjectile&amp;diff=28614"/>
		<updated>2011-12-16T07:03:14Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function creates a projectile of the specified type on the specified coordinates.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
projectile createProjectile ( element creator, int weaponType [, float posX, float posY, float posZ, float force = 1.0, element target = nil, float rotX, float rotY, float rotZ, float velX, float velY, float velZ, int model ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required Arguments==&lt;br /&gt;
*'''creator:''' The [[element]] representing creator of the projectile. In case you want the projectile to be synced for everybody creator must be [[getLocalPlayer]]().&lt;br /&gt;
*'''weaponType:''' [[int]] representing the projectile weaponType (characteristics). Valid IDs are:&lt;br /&gt;
{{Projectiles}}&lt;br /&gt;
&lt;br /&gt;
==Optional Arguments==&lt;br /&gt;
{{OptionalArg}}&lt;br /&gt;
*'''posX''','''posY''','''posZ''': [[float]] starting coordinates for the projectile. They are coordinates of creator by default.&lt;br /&gt;
*'''force''': [[float]] representing the starting force of the projectile.&lt;br /&gt;
*'''target''': [[element]] target used for heat seeking rockets.&lt;br /&gt;
*'''rotX''','''rotY''','''rotZ''': [[float]] starting rotation for the projectile.&lt;br /&gt;
*'''velX''','''velY''','''velZ''': [[float]] starting velocity for the projectile.&lt;br /&gt;
*'''model''': Integer representing the projectile's model, uses default model for weaponType if not specified.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns a ''projectile'' element if projectile creation was succesfull. Returns ''false'' if unable to create a projectile (wrong weapon ID or projectiles limit was reached).&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example makes a rocket minigun (minigun shooting with rockets).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- This function gets triggered everytime player shoots.&lt;br /&gt;
function onClientPlayerWeaponFireFunc(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement)&lt;br /&gt;
	if weapon == 38 then -- if source is a local player and he uses minigun...&lt;br /&gt;
		if not createProjectile(getLocalPlayer(),19,getElementPosition(getLocalPlayer()),200) then -- then we either create a projectile...&lt;br /&gt;
			outputChatBox ( &amp;quot;Rocket minigun overheated! Give it a rest pal!&amp;quot;, source ) -- or if projectile limit is reached we output player a chat message&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Don't forget to add the onClientPlayerWeaponFireFunc function as a handler for onClientPlayerWeaponFire.&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWeaponFire&amp;quot;, getLocalPlayer(), onClientPlayerWeaponFireFunc)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
&lt;br /&gt;
[[it:createProjectile]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetProjectileCreator&amp;diff=28613</id>
		<title>GetProjectileCreator</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetProjectileCreator&amp;diff=28613"/>
		<updated>2011-12-16T07:01:59Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
{{Needs Example}}&lt;br /&gt;
This function returns the creator of the specified projectile.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
element getProjectileCreator ( projectile theProjectile )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Required Arguments==&lt;br /&gt;
*'''theProjectile:''' The [[projectiles| projectile]] element which creator you want to retrieve.&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns the element which created the projectile if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--TODO&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Client projectile functions}}&lt;br /&gt;
&lt;br /&gt;
[[it:getProjectileCreator]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Disabled_Functions_and_Events&amp;diff=28612</id>
		<title>Category:Disabled Functions and Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Disabled_Functions_and_Events&amp;diff=28612"/>
		<updated>2011-12-16T06:58:54Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: Created page with &amp;quot;Category:Scripting&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Changelog&amp;diff=28611</id>
		<title>Category:Changelog</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Changelog&amp;diff=28611"/>
		<updated>2011-12-16T06:45:12Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: Created page with &amp;quot;Category:Contents&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Contents]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Events_templates&amp;diff=28610</id>
		<title>Category:Events templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Events_templates&amp;diff=28610"/>
		<updated>2011-12-16T06:39:03Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Templates]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Events_templates&amp;diff=28609</id>
		<title>Category:Events templates</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Events_templates&amp;diff=28609"/>
		<updated>2011-12-16T06:38:21Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: Created page with &amp;quot;Category:Scripting&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:New_feature&amp;diff=28604</id>
		<title>Template:New feature</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:New_feature&amp;diff=28604"/>
		<updated>2011-12-16T06:12:05Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{delete|to rename &amp;lt;nowiki&amp;gt;{{[[new feature/item]]}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:New_feature/item&amp;diff=28603</id>
		<title>Template:New feature/item</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:New_feature/item&amp;diff=28603"/>
		<updated>2011-12-16T05:59:56Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#ifexpr:({{{1|}}})&amp;gt;{{Current Version}}|&amp;lt;div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'&amp;gt;FROM VERSION {{{2}}} {{#if:{{{3}}}|{{r|{{{3}}}}}|}} ONWARDS&amp;lt;/div&amp;gt;&amp;lt;div style='border: 2px solid black;padding: 3px;'&amp;gt;{{{4|}}} &amp;lt;/div&amp;gt;| {{{4|}}}}}[[Category:Changes in {{{2}}}]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;Template for using in function and event pages. For functions/events lists please use &amp;lt;nowiki&amp;gt;{{New items}}&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
#Version in numeric format&lt;br /&gt;
#Version in release format&lt;br /&gt;
#Revision&lt;br /&gt;
#Description&lt;br /&gt;
&lt;br /&gt;
[[Category:Utility templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Category:Changes_in_1.2&amp;diff=28602</id>
		<title>Category:Changes in 1.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Category:Changes_in_1.2&amp;diff=28602"/>
		<updated>2011-12-16T05:43:46Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''See also [[Changes in 1.2]]''&lt;br /&gt;
&lt;br /&gt;
[[Category:Changelog]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnChatMessage&amp;diff=28460</id>
		<title>OnChatMessage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnChatMessage&amp;diff=28460"/>
		<updated>2011-11-24T05:54:12Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
{{New feature/item|3.0120|1.2|3316|&lt;br /&gt;
'''Available only in MTA SA 1.2 and onwards'''&lt;br /&gt;
}}&lt;br /&gt;
This event is triggered when a player uses say, teamsay, me successfully. Or when any message is output to chat using [[outputChatBox]]. It can be used to get the resource responsible for specific [[outputChatBox]] call via the second parameter.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string theMessage, resource / element theElement&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''theMessage:''' The text that was output to the chatbox&lt;br /&gt;
*'''theElement:''' Player element if chatbox output was done via say, teamsay or me. Resource if it was done via [[outputChatBox]].&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the root element.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example outputs all chat messages to debug view.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
[lua]&lt;br /&gt;
function onChatMessageHandler(theMessage, thePlayer)&lt;br /&gt;
	outputDebugString(theMessage)&lt;br /&gt;
end&lt;br /&gt;
addEventHandler(&amp;quot;onChatMessage&amp;quot;, root, onChatMessageHandler)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{Requirements|1.1.1-9.03316|n/a|}}&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RedirectPlayer&amp;diff=28459</id>
		<title>RedirectPlayer</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RedirectPlayer&amp;diff=28459"/>
		<updated>2011-11-24T05:50:19Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function redirects the player to a specified server.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool redirectPlayer ( player thePlayer, string serverIP, int serverPort, [ string serverPassword ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePlayer:''' The player you want to redirect&lt;br /&gt;
*'''serverIP:''' The ip of the server you want to redirect the player to&lt;br /&gt;
*'''serverPort:''' The game port of the server you want to redirect the player to&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''serverPassword:''' The password for the server if it's protected&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the player was redirected successfully, ''false'' if bad arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example adds a &amp;quot;joinserver&amp;quot; command using the syntax, &amp;quot;/joinserver serverIP serverPort [serverPassword]&amp;quot;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function joinserverHandlerFunction (playerSource, commandName, serverIP, serverPort, serverPassword)&lt;br /&gt;
	if serverIP and serverPort then --if IP and Port were specified&lt;br /&gt;
		if serverPassword then --if also a password was specified&lt;br /&gt;
			redirectPlayer (playerSource, serverIP, tonumber(serverPort), serverPassword) --redirect the player&lt;br /&gt;
		else -- else if no password was specified&lt;br /&gt;
			redirectPlayer (playerSource, serverIP, tonumber(serverPort))  --redirect the player without using the serverPassword parameter&lt;br /&gt;
		end&lt;br /&gt;
	else -- if no IP or Port have been specified&lt;br /&gt;
		outputChatBox (&amp;quot;Error! Correct Syntax: /joinserver IP Port [Password]&amp;quot;, playerSource) --output an Error message to the chatbox&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler (&amp;quot;joinserver&amp;quot;, joinserverHandlerFunction) &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3.0120|1.2|3429|&lt;br /&gt;
This example adds a &amp;quot;rejoin&amp;quot; command like the inbuilt reconnect command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function rejoinMe(thePlayer, theCommand)&lt;br /&gt;
    redirectPlayer(thePlayer) -- This only works in 1.1.1-9.03429 and onwards&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;rejoin&amp;quot;, rejoinMe) -- Attach rejoin command to our function&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player_functions}}&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:IT/Elements&amp;diff=28455</id>
		<title>Template:IT/Elements</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:IT/Elements&amp;diff=28455"/>
		<updated>2011-11-23T12:53:56Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{IT/MainP}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{IT/Entities}}&lt;br /&gt;
* [[IT/Elemento/Collision shape|Collision shape]]&lt;br /&gt;
* [[IT/Elemento/Proiettile|Proiettile]]&lt;br /&gt;
* [[IT/Elemento/Team|Team]]&lt;br /&gt;
* [[IT/Elemento/Console|Console del server]]&lt;br /&gt;
* [[IT/Elemento/Admin|Admin remoto]]&lt;br /&gt;
* [[IT/Elemento/GUI|Elementi della GUI]]&lt;br /&gt;
&amp;lt;ul&amp;gt;{{IT/GUI Elements}}&amp;lt;/ul&amp;gt;&lt;br /&gt;
* [[IT/Elemento/TXD|TXD]]&lt;br /&gt;
* [[IT/Elemento/DFF|DFF]]&lt;br /&gt;
* [[IT/Elemento/COL|COL]]&lt;br /&gt;
* [[IT/Elemento/Sound|Sound]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
* [[IT/Elemento/Material|Material]]&lt;br /&gt;
** [[IT/Elemento/Texture|Texture]]&lt;br /&gt;
** [[IT/Elemento/Shader|Shader]]&lt;br /&gt;
* [[IT/Elemento/DX font|DX font]]&lt;br /&gt;
* [[IT/Elemento/GUI font|GUI font]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Elements&amp;diff=28454</id>
		<title>Template:Elements</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Elements&amp;diff=28454"/>
		<updated>2011-11-23T12:53:30Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Element/Player|Player]]&lt;br /&gt;
* [[Element/Ped|Ped]]&lt;br /&gt;
* [[Element/Vehicle|Vehicle]]&lt;br /&gt;
* [[Element/Object|Object]]&lt;br /&gt;
* [[Element/Pickup|Pickup]]&lt;br /&gt;
* [[Element/Marker|Marker]]&lt;br /&gt;
* [[Element/Collision shape|Collision shape]]&lt;br /&gt;
* [[Element/Blip|Blip]]&lt;br /&gt;
* [[Element/Radar area|Radar area]]&lt;br /&gt;
* [[Element/Projectile|Projectile]]&lt;br /&gt;
* [[Element/Team|Team]]&lt;br /&gt;
* [[Element/Console|Server console]]&lt;br /&gt;
* [[Element/Admin|Remote admin]]&lt;br /&gt;
* [[GUI widgets]]:&lt;br /&gt;
&amp;lt;ul&amp;gt;{{GUI_widgets}}&amp;lt;/ul&amp;gt;&lt;br /&gt;
* [[Element/TXD|TXD]]&lt;br /&gt;
* [[Element/DFF|DFF]]&lt;br /&gt;
* [[Element/COL|COL]]&lt;br /&gt;
&amp;lt;!--* [[Element/IFP|IFP]]--&amp;gt;&lt;br /&gt;
* [[Element/Sound|Sound]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
* [[Element/Material|Material]]&lt;br /&gt;
** [[Element/Texture|Texture]]&lt;br /&gt;
** [[Element/Shader|Shader]]&lt;br /&gt;
* [[Element/DX font|DX font]]&lt;br /&gt;
* [[Element/GUI font|GUI font]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[ru:Template:Elements]]&lt;br /&gt;
[[es:Template:Elements]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Account_events&amp;diff=28453</id>
		<title>Template:Account events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Account_events&amp;diff=28453"/>
		<updated>2011-11-23T12:52:34Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3.0110|1.1|&lt;br /&gt;
*[[onAccountDataChange]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Sound_events&amp;diff=28452</id>
		<title>Template:Sound events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Sound_events&amp;diff=28452"/>
		<updated>2011-11-23T12:52:17Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3.0110|1.1|&lt;br /&gt;
* [[onClientSoundChangedMeta]]&lt;br /&gt;
* [[onClientSoundFinishedDownload]]&lt;br /&gt;
* [[onClientSoundStream]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Ped_events&amp;diff=28451</id>
		<title>Template:Ped events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Ped_events&amp;diff=28451"/>
		<updated>2011-11-23T12:51:55Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3|1.0|&lt;br /&gt;
*[[onPedWasted]]&lt;br /&gt;
*[[onPedWeaponSwitch]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_ped_events&amp;diff=28450</id>
		<title>Template:Client ped events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_ped_events&amp;diff=28450"/>
		<updated>2011-11-23T12:51:30Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3|1.0|&lt;br /&gt;
*[[onClientPedDamage]]&lt;br /&gt;
*[[onClientPedWasted]]&lt;br /&gt;
*[[onClientPedWeaponFire]]&lt;br /&gt;
*[[onClientPedChoke]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Element_events&amp;diff=28449</id>
		<title>Template:Element events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Element_events&amp;diff=28449"/>
		<updated>2011-11-23T12:50:34Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onElementDestroy]]&lt;br /&gt;
*[[onElementDataChange]]&lt;br /&gt;
*[[onElementColShapeHit]]&lt;br /&gt;
*[[onElementColShapeLeave]]&lt;br /&gt;
*[[onElementClicked]]&lt;br /&gt;
*[[onElementStartSync]]&lt;br /&gt;
*[[onElementStopSync]]&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*[[onElementModelChanged]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:GUI_events&amp;diff=28448</id>
		<title>Template:GUI events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:GUI_events&amp;diff=28448"/>
		<updated>2011-11-23T12:50:24Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onClientGUIClick]]&lt;br /&gt;
*[[onClientGUIDoubleClick]]&lt;br /&gt;
*[[onClientGUIChanged]]&lt;br /&gt;
*[[onClientGUIAccepted]]&lt;br /&gt;
*[[onClientGUIScroll]]&lt;br /&gt;
*[[onClientClick]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[onClientDoubleClick]]&lt;br /&gt;
*[[onClientKey]]&lt;br /&gt;
}}&lt;br /&gt;
*[[onClientMouseEnter]]&lt;br /&gt;
*[[onClientMouseLeave]]&lt;br /&gt;
*[[onClientMouseMove]]&lt;br /&gt;
*[[onClientMouseWheel]]&lt;br /&gt;
*[[onClientCursorMove]]&lt;br /&gt;
*[[onClientGUIMouseDown]]&lt;br /&gt;
*[[onClientGUIMouseUp]]&lt;br /&gt;
*[[onClientGUIMove]]&lt;br /&gt;
*[[onClientGUISize]]&lt;br /&gt;
*[[onClientGUITabSwitched]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[onClientGUIComboBoxAccepted]]&lt;br /&gt;
*[[onClientGUIFocus]]&lt;br /&gt;
*[[onClientGUIBlur]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Player_events&amp;diff=28447</id>
		<title>Template:Player events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Player_events&amp;diff=28447"/>
		<updated>2011-11-23T12:49:12Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onPlayerBan]]&lt;br /&gt;
*[[onPlayerChat]]&lt;br /&gt;
*[[onPlayerPrivateMessage]]&lt;br /&gt;
*[[onPlayerConnect]]&lt;br /&gt;
*[[onPlayerChangeNick]]&lt;br /&gt;
*[[onPlayerLogin]]&lt;br /&gt;
*[[onPlayerLogout]]&lt;br /&gt;
*[[onPlayerDamage]]&lt;br /&gt;
*[[onPlayerJoin]]&lt;br /&gt;
*[[onPlayerQuit]]&lt;br /&gt;
*[[onPlayerSpawn]]&lt;br /&gt;
*[[onPlayerWasted]]&lt;br /&gt;
*[[onPlayerTarget]]&lt;br /&gt;
*[[onPlayerVehicleEnter]]&lt;br /&gt;
*[[onPlayerVehicleExit]]&lt;br /&gt;
*[[onPlayerWeaponSwitch]]&lt;br /&gt;
*[[onPlayerMarkerHit]]&lt;br /&gt;
*[[onPlayerMarkerLeave]]&lt;br /&gt;
*[[onPlayerPickupHit]]&lt;br /&gt;
*[[onPlayerPickupUse]]&lt;br /&gt;
*[[onPlayerClick]]&lt;br /&gt;
*[[onPlayerContact]]&lt;br /&gt;
*[[onPlayerStealthKill]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[onPlayerMute]]&lt;br /&gt;
*[[onPlayerUnmute]]&lt;br /&gt;
*[[onPlayerCommand]]&lt;br /&gt;
*[[onPlayerModInfo]]&lt;br /&gt;
*[[onPlayerVoiceStart]]&lt;br /&gt;
*[[onPlayerVoiceStop]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Resource_events&amp;diff=28446</id>
		<title>Template:Resource events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Resource_events&amp;diff=28446"/>
		<updated>2011-11-23T12:48:40Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onResourceStart]]&lt;br /&gt;
{{New items|3|1.0|&lt;br /&gt;
*[[onResourcePreStart]]&lt;br /&gt;
}}&lt;br /&gt;
*[[onResourceStop]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Server_events&amp;diff=28445</id>
		<title>Template:Server events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Server_events&amp;diff=28445"/>
		<updated>2011-11-23T12:48:12Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onBan]]&lt;br /&gt;
*[[onDebugMessage]]&lt;br /&gt;
*[[onSettingChange]]&lt;br /&gt;
*[[onAccountDataChange]]&lt;br /&gt;
*[[onUnban]]&lt;br /&gt;
{{New items|3.0120|1.2|&lt;br /&gt;
*[[onChatMessage]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_other_events&amp;diff=28444</id>
		<title>Template:Client other events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_other_events&amp;diff=28444"/>
		<updated>2011-11-23T12:47:56Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onClientConsole]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[onClientDebugMessage]]&lt;br /&gt;
*[[onClientHUDRender]]&lt;br /&gt;
*[[onClientMinimize]]&lt;br /&gt;
*[[onClientRestore]]&lt;br /&gt;
}}&lt;br /&gt;
*[[onClientRender]]&lt;br /&gt;
*[[onClientExplosion]]&lt;br /&gt;
*[[onClientChatMessage]]&lt;br /&gt;
*[[onClientPreRender]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_vehicle_events&amp;diff=28443</id>
		<title>Template:Client vehicle events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_vehicle_events&amp;diff=28443"/>
		<updated>2011-11-23T12:47:35Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onClientVehicleRespawn]]&lt;br /&gt;
*[[onClientVehicleEnter]]&lt;br /&gt;
*[[onClientVehicleExit]]&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
* [[onClientVehicleExplode]]&lt;br /&gt;
}}&lt;br /&gt;
*[[onClientVehicleStartEnter]]&lt;br /&gt;
*[[onClientVehicleStartExit]]&lt;br /&gt;
*[[onClientTrailerAttach]]&lt;br /&gt;
*[[onClientTrailerDetach]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Events templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_player_events&amp;diff=28442</id>
		<title>Template:Client player events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_player_events&amp;diff=28442"/>
		<updated>2011-11-23T12:45:56Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[onClientPlayerJoin]]&lt;br /&gt;
*[[onClientPlayerQuit]]&lt;br /&gt;
*[[onClientPlayerWeaponFire]]&lt;br /&gt;
*[[onClientPlayerWeaponSwitch]]&lt;br /&gt;
*[[onClientPlayerTarget]]&lt;br /&gt;
*[[onClientPlayerDamage]]&lt;br /&gt;
*[[onClientPlayerSpawn]]&lt;br /&gt;
*[[onClientPlayerWasted]]&lt;br /&gt;
*[[onClientPlayerVehicleEnter]]&lt;br /&gt;
*[[onClientPlayerVehicleExit]]&lt;br /&gt;
*[[onClientPlayerChangeNick]]&lt;br /&gt;
*[[onClientPlayerStuntStart]]&lt;br /&gt;
*[[onClientPlayerStuntFinish]]&lt;br /&gt;
{{New items|3|1.0|&lt;br /&gt;
*[[onClientPlayerChoke]]&lt;br /&gt;
*[[onClientPlayerRadioSwitch]]&lt;br /&gt;
}}&lt;br /&gt;
{{New items|3.0004|1.0.4|&lt;br /&gt;
*[[onClientPlayerStealthKill]]&lt;br /&gt;
}}&lt;br /&gt;
{{New items|3.0110|1.1|&lt;br /&gt;
*[[onClientPlayerVoiceStart]]&lt;br /&gt;
*[[onClientPlayerVoiceStop]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:Client_element_events&amp;diff=28441</id>
		<title>Template:Client element events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:Client_element_events&amp;diff=28441"/>
		<updated>2011-11-23T12:45:18Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{New items|3|1.0|&lt;br /&gt;
*[[onClientElementDestroy]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
*[[onClientElementColShapeHit]]&lt;br /&gt;
*[[onClientElementColShapeLeave]]&lt;br /&gt;
*[[onClientElementDataChange]]&lt;br /&gt;
*[[onClientElementStreamIn]]&lt;br /&gt;
*[[onClientElementStreamOut]]&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetVehicleEngineState&amp;diff=28440</id>
		<title>GetVehicleEngineState</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetVehicleEngineState&amp;diff=28440"/>
		<updated>2011-11-23T12:08:32Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns a vehicle's engine state (on or off).&lt;br /&gt;
&lt;br /&gt;
{{New feature/item|3|1.0}}&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool getVehicleEngineState ( vehicle theVehicle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''theVehicle''': The [[vehicle]] you wish to get the engine state of.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns '''true''' if the vehicle's engine is started, '''false''' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Serverside example&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example will switch the vehicle engine state with the command &amp;quot;/switchengine&amp;quot;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function switchEngine ( playerSource )&lt;br /&gt;
    local theVehicle = getPedOccupiedVehicle ( playerSource )&lt;br /&gt;
&lt;br /&gt;
    -- Check if the player is in any vehicle and if he is the driver&lt;br /&gt;
    if theVehicle and getVehicleController ( theVehicle ) == playerSource then&lt;br /&gt;
        local state = getVehicleEngineState ( theVehicle )&lt;br /&gt;
        setVehicleEngineState ( theVehicle, not state )&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;switchengine&amp;quot;, switchEngine )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
*2008-06-23 - added ({{i|3544}})&lt;br /&gt;
*2009-07-24 - fixed {{i|4687}}&lt;br /&gt;
*2009-08-22 - fixed {{i|4851}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Vehicle functions}}&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Template:New_feature/item&amp;diff=28439</id>
		<title>Template:New feature/item</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Template:New_feature/item&amp;diff=28439"/>
		<updated>2011-11-23T12:04:32Z</updated>

		<summary type="html">&lt;p&gt;OpenIDUser32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#ifexpr:({{{1|}}})&amp;gt;{{Current Version}}|&amp;lt;div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'&amp;gt;FROM VERSION {{{2}}} {{#if:{{{3}}}|{{r|{{{3}}}}}}]|}} ONWARDS&amp;lt;/div&amp;gt;&amp;lt;div style='border: 2px solid black;padding: 3px;'&amp;gt;{{{4|}}} &amp;lt;/div&amp;gt;| {{{4|}}}}}[[Category:Changes in {{{2}}}]]&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;Template for using in function and event pages. For functions/events lists please use &amp;lt;nowiki&amp;gt;{{New Feature}}&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
#Version in numeric format&lt;br /&gt;
#Version in release format&lt;br /&gt;
#Revision&lt;br /&gt;
#Description&lt;br /&gt;
&lt;br /&gt;
[[Category:Utility templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>OpenIDUser32</name></author>
	</entry>
</feed>