<?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=Violence</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=Violence"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Violence"/>
	<updated>2026-04-14T11:32:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Events&amp;diff=67287</id>
		<title>Server Scripting Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Events&amp;diff=67287"/>
		<updated>2020-08-22T14:10:59Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Server events */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
This page lists all '''server-side''' scripting [[event]]s that have been implemented and are available in the Deathmatch mod.&lt;br /&gt;
&lt;br /&gt;
To request a function or event, use [[Requested Functions and Events]].&lt;br /&gt;
&lt;br /&gt;
'''Client-side scripting events can be found here: [[Client Scripting Events]]&lt;br /&gt;
&lt;br /&gt;
==Account events==&lt;br /&gt;
{{Account_events}}&lt;br /&gt;
&lt;br /&gt;
==Client events==&lt;br /&gt;
{{Client_events}}&lt;br /&gt;
&lt;br /&gt;
==Colshape events==&lt;br /&gt;
{{Colshape_events}}&lt;br /&gt;
&lt;br /&gt;
==Element events==&lt;br /&gt;
{{Element_events}}&lt;br /&gt;
&lt;br /&gt;
==Marker events==&lt;br /&gt;
{{Marker_events}}&lt;br /&gt;
&lt;br /&gt;
==Pickup events==&lt;br /&gt;
{{Pickup_events}}&lt;br /&gt;
&lt;br /&gt;
==Player events==&lt;br /&gt;
{{Player_events}}&lt;br /&gt;
&lt;br /&gt;
==Ped events==&lt;br /&gt;
{{Ped_events}}&lt;br /&gt;
&lt;br /&gt;
==Resource events==&lt;br /&gt;
{{Resource_events}}&lt;br /&gt;
&lt;br /&gt;
==Sunucu Olayları==&lt;br /&gt;
{{Server_events}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle events==&lt;br /&gt;
{{Vehicle_events}}&lt;br /&gt;
&lt;br /&gt;
==Weapon events==&lt;br /&gt;
{{Weapon_events}}&lt;br /&gt;
&lt;br /&gt;
[[hu:Server Scripting Events]]&lt;br /&gt;
[[tr:Server Scripting Events]]&lt;br /&gt;
[[pt-br:Eventos de Scripting do Servidor]]&lt;br /&gt;
[[ru:Server Scripting Events]]&lt;br /&gt;
[[fr:Server Scripting Events]]&lt;br /&gt;
[[ru:Server Scripting Events]]&lt;br /&gt;
[[ar:Server Scripting Events]]&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67284</id>
		<title>OnBan</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67284"/>
		<updated>2020-08-22T14:10:31Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Örnek */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an IP address or serial is banned from the server.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
yasaklama theBan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theBan''': Eklenmiş olan yasak.&lt;br /&gt;
&lt;br /&gt;
==Kaynak==&lt;br /&gt;
Bu olayın kaynağı, yasaklanmadan sorumlu olan değişkendir.Eğer hiçbir sorumlu yoksa o zaman kaynak, genel root değişkeni olur.&lt;br /&gt;
&lt;br /&gt;
==İptal Etme==&lt;br /&gt;
Bu olay iptal edilemez.&lt;br /&gt;
&lt;br /&gt;
==Örnek== &lt;br /&gt;
Bu örnek, bir oyuncu yasaklandığında herkese bir mesaj gönderiyor.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function announceBan( theBan )&lt;br /&gt;
   if ( isElement( source ) ) and ( getElementType( source ) == &amp;quot;player&amp;quot; ) then -- Check if the element responsible for the ban is a player element&lt;br /&gt;
	outputChatBox( getPlayerName( source ) .. &amp;quot; banned &amp;quot; .. ( getBanSerial( theBan ) or getBanIP( theBan ) ) ) -- Output to the chatbox saying the player has banned the IP/Serial&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onBan&amp;quot;, root, announceBan ) -- Adds the event handler for &amp;quot;onBan&amp;quot; and must be bound to root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67283</id>
		<title>OnBan</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67283"/>
		<updated>2020-08-22T14:10:14Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an IP address or serial is banned from the server.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
yasaklama theBan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theBan''': Eklenmiş olan yasak.&lt;br /&gt;
&lt;br /&gt;
==Kaynak==&lt;br /&gt;
Bu olayın kaynağı, yasaklanmadan sorumlu olan değişkendir.Eğer hiçbir sorumlu yoksa o zaman kaynak, genel root değişkeni olur.&lt;br /&gt;
&lt;br /&gt;
==İptal Etme==&lt;br /&gt;
Bu olay iptal edilemez.&lt;br /&gt;
&lt;br /&gt;
==Örnek== &lt;br /&gt;
Bu örnek, bir oyuncu yasaklandığında herkese bir mesaj gönderiyor.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function announceBan( theBan )&lt;br /&gt;
   if ( isElement( source ) ) and ( getElementType( source ) == &amp;quot;player&amp;quot; ) then -- Check if the element responsible for the ban is a player element&lt;br /&gt;
	outputChatBox( getPlayerName( source ) .. &amp;quot; banned &amp;quot; .. ( getBanSerial( theBan ) or getBanIP( theBan ) ) ) -- Output to the chatbox saying the player has banned the IP/Serial&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onBan&amp;quot;, root, announceBan ) -- Adds the event handler for &amp;quot;onBan&amp;quot; and must be bound to root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Şunlara da Bakın/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67282</id>
		<title>OnBan</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67282"/>
		<updated>2020-08-22T14:09:33Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Cancel effect */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an IP address or serial is banned from the server.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
yasaklama theBan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theBan''': Eklenmiş olan yasak.&lt;br /&gt;
&lt;br /&gt;
==Kaynak==&lt;br /&gt;
Bu olayın kaynağı, yasaklanmadan sorumlu olan değişkendir.Eğer hiçbir sorumlu yoksa o zaman kaynak, genel root değişkeni olur.&lt;br /&gt;
&lt;br /&gt;
==İptal Etme==&lt;br /&gt;
Bu olay iptal edilemez.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs a simple message to all players when a player added a ban.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function announceBan( theBan )&lt;br /&gt;
   if ( isElement( source ) ) and ( getElementType( source ) == &amp;quot;player&amp;quot; ) then -- Check if the element responsible for the ban is a player element&lt;br /&gt;
	outputChatBox( getPlayerName( source ) .. &amp;quot; banned &amp;quot; .. ( getBanSerial( theBan ) or getBanIP( theBan ) ) ) -- Output to the chatbox saying the player has banned the IP/Serial&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onBan&amp;quot;, root, announceBan ) -- Adds the event handler for &amp;quot;onBan&amp;quot; and must be bound to root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67281</id>
		<title>OnBan</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67281"/>
		<updated>2020-08-22T14:09:15Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an IP address or serial is banned from the server.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
yasaklama theBan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theBan''': Eklenmiş olan yasak.&lt;br /&gt;
&lt;br /&gt;
==Kaynak==&lt;br /&gt;
Bu olayın kaynağı, yasaklanmadan sorumlu olan değişkendir.Eğer hiçbir sorumlu yoksa o zaman kaynak, genel root değişkeni olur.&lt;br /&gt;
&lt;br /&gt;
==Cancel effect==&lt;br /&gt;
This event cannot be canceled.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs a simple message to all players when a player added a ban.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function announceBan( theBan )&lt;br /&gt;
   if ( isElement( source ) ) and ( getElementType( source ) == &amp;quot;player&amp;quot; ) then -- Check if the element responsible for the ban is a player element&lt;br /&gt;
	outputChatBox( getPlayerName( source ) .. &amp;quot; banned &amp;quot; .. ( getBanSerial( theBan ) or getBanIP( theBan ) ) ) -- Output to the chatbox saying the player has banned the IP/Serial&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onBan&amp;quot;, root, announceBan ) -- Adds the event handler for &amp;quot;onBan&amp;quot; and must be bound to root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67280</id>
		<title>OnBan</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67280"/>
		<updated>2020-08-22T14:09:01Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an IP address or serial is banned from the server.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
yasaklama theBan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theBan''': Eklenmiş olan yasak.&lt;br /&gt;
&lt;br /&gt;
==Kaynak==&lt;br /&gt;
Bu olayın kaynağı, yasaklanmadan sorumlu olan değişkendir.Eğer hiçbir sorumlu yoksa o zaman kaynak, genel root değişkeni olur.&lt;br /&gt;
&lt;br /&gt;
==Cancel effect==&lt;br /&gt;
This event cannot be canceled.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs a simple message to all players when a player added a ban.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function announceBan( theBan )&lt;br /&gt;
   if ( isElement( source ) ) and ( getElementType( source ) == &amp;quot;player&amp;quot; ) then -- Check if the element responsible for the ban is a player element&lt;br /&gt;
	outputChatBox( getPlayerName( source ) .. &amp;quot; banned &amp;quot; .. ( getBanSerial( theBan ) or getBanIP( theBan ) ) ) -- Output to the chatbox saying the player has banned the IP/Serial&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onBan&amp;quot;, root, announceBan ) -- Adds the event handler for &amp;quot;onBan&amp;quot; and must be bound to root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67279</id>
		<title>OnBan</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnBan&amp;diff=67279"/>
		<updated>2020-08-22T14:06:57Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
This event is triggered when an IP address or serial is banned from the server.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
yasaklama theBan&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*'''theBan''': Eklenmiş olan yasak.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the [[element]] that was responsible for the banning. If no responsible was specified, the source is the global root element.&lt;br /&gt;
&lt;br /&gt;
==Cancel effect==&lt;br /&gt;
This event cannot be canceled.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example outputs a simple message to all players when a player added a ban.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function announceBan( theBan )&lt;br /&gt;
   if ( isElement( source ) ) and ( getElementType( source ) == &amp;quot;player&amp;quot; ) then -- Check if the element responsible for the ban is a player element&lt;br /&gt;
	outputChatBox( getPlayerName( source ) .. &amp;quot; banned &amp;quot; .. ( getBanSerial( theBan ) or getBanIP( theBan ) ) ) -- Output to the chatbox saying the player has banned the IP/Serial&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler( &amp;quot;onBan&amp;quot;, root, announceBan ) -- Adds the event handler for &amp;quot;onBan&amp;quot; and must be bound to root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Events&amp;diff=67278</id>
		<title>Server Scripting Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Events&amp;diff=67278"/>
		<updated>2020-08-22T14:05:48Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Server events */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
This page lists all '''server-side''' scripting [[event]]s that have been implemented and are available in the Deathmatch mod.&lt;br /&gt;
&lt;br /&gt;
To request a function or event, use [[Requested Functions and Events]].&lt;br /&gt;
&lt;br /&gt;
'''Client-side scripting events can be found here: [[Client Scripting Events]]&lt;br /&gt;
&lt;br /&gt;
==Account events==&lt;br /&gt;
{{Account_events}}&lt;br /&gt;
&lt;br /&gt;
==Client events==&lt;br /&gt;
{{Client_events}}&lt;br /&gt;
&lt;br /&gt;
==Colshape events==&lt;br /&gt;
{{Colshape_events}}&lt;br /&gt;
&lt;br /&gt;
==Element events==&lt;br /&gt;
{{Element_events}}&lt;br /&gt;
&lt;br /&gt;
==Marker events==&lt;br /&gt;
{{Marker_events}}&lt;br /&gt;
&lt;br /&gt;
==Pickup events==&lt;br /&gt;
{{Pickup_events}}&lt;br /&gt;
&lt;br /&gt;
==Player events==&lt;br /&gt;
{{Player_events}}&lt;br /&gt;
&lt;br /&gt;
==Ped events==&lt;br /&gt;
{{Ped_events}}&lt;br /&gt;
&lt;br /&gt;
==Resource events==&lt;br /&gt;
{{Resource_events}}&lt;br /&gt;
&lt;br /&gt;
==Sunucu Olayları==&lt;br /&gt;
{{Server_events}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle events==&lt;br /&gt;
{{Vehicle_events}}&lt;br /&gt;
&lt;br /&gt;
==Weapon events==&lt;br /&gt;
{{Weapon_events}}&lt;br /&gt;
&lt;br /&gt;
[[hu:Server Scripting Events]]&lt;br /&gt;
[[tr:Server Scripting Events]]&lt;br /&gt;
[[pt-br:Eventos de Scripting do Servidor]]&lt;br /&gt;
[[ru:Server Scripting Events]]&lt;br /&gt;
[[fr:Server Scripting Events]]&lt;br /&gt;
[[ru:Server Scripting Events]]&lt;br /&gt;
[[ar:Server Scripting Events]]&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AddAccount&amp;diff=67277</id>
		<title>AddAccount</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AddAccount&amp;diff=67277"/>
		<updated>2020-08-22T14:05:18Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function adds an [[account]] to the list of registered accounts of the current server.&lt;br /&gt;
&lt;br /&gt;
==Sözdizimi== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;hesap addAccount ( Hesap İsmi, Satır Geçisi [, bool Durum Varyasyonlarına izin Ver = false/true ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP|This function is a static function underneath the Account class.|[[Account]].add ||}}&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''name:''' The name of the account you wish to make, this normally is the player's name.&lt;br /&gt;
*'''pass:''' The password to set for this account for future logins.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''allowCaseVariations:''' Whether the username is case sensitive (if this is set to true, usernames &amp;quot;Bob&amp;quot; and &amp;quot;bob&amp;quot; will refer to different accounts)&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an [[account]] or ''false'' if the account already exists or an error occured.&lt;br /&gt;
&lt;br /&gt;
===Limits===&lt;br /&gt;
*'''name:'''&lt;br /&gt;
** Minimal account name length is 1 character.&lt;br /&gt;
** Account names are case-sensitive if allowCaseVariations is ''true''.&lt;br /&gt;
** Account name can not be equal to &amp;quot;*****&amp;quot;&lt;br /&gt;
*'''pass:'''&lt;br /&gt;
** Minimal account password length is 1 character.&lt;br /&gt;
** Maximum account password length is 30 characters.&lt;br /&gt;
** Account password can not be equal to &amp;quot;*****&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This enables players to register on your server by using /register &amp;lt;password&amp;gt; in the chat window.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function registerPlayer ( source, commandName, password )&lt;br /&gt;
	-- Check if the password field is blank or not (only blank if they didnt enter one)&lt;br /&gt;
	if ( password ~= &amp;quot;&amp;quot; and password ~= nil ) then&lt;br /&gt;
		--Attempt to add the account, and save its value in a var&lt;br /&gt;
		local accountAdded = addAccount( getPlayerName(source), password )&lt;br /&gt;
		if ( accountAdded ) then&lt;br /&gt;
			--  Tell the user all is done&lt;br /&gt;
			outputChatBox ( &amp;quot;Thank you &amp;quot; .. getPlayerName(source) .. &amp;quot;, you're now registed, you can login with /login&amp;quot;, source )&lt;br /&gt;
		else&lt;br /&gt;
			-- There was an error making the account, tell the user&lt;br /&gt;
			outputChatBox ( &amp;quot;Error creating account, contact the server admin&amp;quot;, source )&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		-- There was an error in the syntax, tell the user the correct syntax.&lt;br /&gt;
		outputChatBox ( &amp;quot;Error creating account, correct syntax: /register &amp;lt;password&amp;gt;&amp;quot;, source )&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;register&amp;quot;, registerPlayer ) -- add the command handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This code differs by allowing the user to change their username that they wish to use.'''&lt;br /&gt;
&lt;br /&gt;
'''Example 2:''' This enables players to register on your server by using /register &amp;lt;username&amp;gt; &amp;lt;password&amp;gt; in the chat window.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function registerPlayer ( source, commandName, username, password )&lt;br /&gt;
        if(password ~= &amp;quot;&amp;quot; and password ~= nil and username ~= &amp;quot;&amp;quot; and username ~= nil) then&lt;br /&gt;
                local accountAdded = addAccount(username,password)&lt;br /&gt;
                if(accountAdded) then&lt;br /&gt;
                        outputChatBox(&amp;quot;Thank you &amp;quot; .. getPlayerName(source) .. &amp;quot;, you're now registed, you can login with /login&amp;quot;,source)&lt;br /&gt;
                else&lt;br /&gt;
                        outputChatBox(&amp;quot;Error creating account, contact the server admin.&amp;quot;,source)&lt;br /&gt;
                end&lt;br /&gt;
        else&lt;br /&gt;
                outputChatBox(&amp;quot;Error creating account, correct syntax: /register &amp;lt;nick&amp;gt; &amp;lt;pass&amp;gt;&amp;quot;,source)&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;register&amp;quot;, registerPlayer ) -- add the command handler&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Example 3:''' This code differs again so the user can only register once /register &amp;lt;username&amp;gt; &amp;lt;password&amp;gt;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bRegisteredOnce = {}&lt;br /&gt;
&lt;br /&gt;
function registerPlayer ( source, commandName, username, password )&lt;br /&gt;
        if(password ~= &amp;quot;&amp;quot; and password ~= nil and username ~= &amp;quot;&amp;quot; and username ~= nil and not bRegisteredOnce[source]) then&lt;br /&gt;
                local accountAdded = addAccount(username,password)&lt;br /&gt;
                if(accountAdded) then&lt;br /&gt;
                        outputChatBox(&amp;quot;Thank you &amp;quot; .. getPlayerName(source) .. &amp;quot;, you're now registed, you can login with /login&amp;quot;,source)&lt;br /&gt;
                        bRegisteredOnce[source] = true&lt;br /&gt;
                else&lt;br /&gt;
                        outputChatBox(&amp;quot;Error creating account, contact the server admin.&amp;quot;,source)&lt;br /&gt;
                end&lt;br /&gt;
        else&lt;br /&gt;
                if bRegisteredOnce[source] == true then&lt;br /&gt;
                    outputChatBox(&amp;quot;You already registered on this server!&amp;quot;,source)&lt;br /&gt;
                else&lt;br /&gt;
                    outputChatBox(&amp;quot;Error creating account, correct syntax: /register &amp;lt;nick&amp;gt; &amp;lt;pass&amp;gt;&amp;quot;,source)&lt;br /&gt;
                end&lt;br /&gt;
        end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&amp;lt;!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc --&amp;gt;&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
&lt;br /&gt;
[[ar:addAcount]]&lt;br /&gt;
[[es:addAcount]]&lt;br /&gt;
[[pl:addAccount]]&lt;br /&gt;
[[ru:addAccount]]&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Functions&amp;diff=67276</id>
		<title>Server Scripting Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Server_Scripting_Functions&amp;diff=67276"/>
		<updated>2020-08-22T14:02:58Z</updated>

		<summary type="html">&lt;p&gt;Violence: /* Account functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{Adding_Pages_to_Categories_and_Templates}}&lt;br /&gt;
This page lists all the '''server-side''' scripting functions that have been implemented and are available as native functions. To request a function or event, use [[Requested Functions and Events]] or https://bugs.mtasa.com.&lt;br /&gt;
&lt;br /&gt;
Please note that the scripting functions can also be extended by loading in dynamic modules that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.&lt;br /&gt;
&lt;br /&gt;
Head over to [[Modules]] for a list of non-native serverside functions and modules that are available.&lt;br /&gt;
&lt;br /&gt;
For more functions, check the [[Useful_Functions|useful functions page]].&lt;br /&gt;
&lt;br /&gt;
'''Client-side scripting functions can be found here: [[Client Scripting Functions]].'''&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Hesap Fonksiyonları==&lt;br /&gt;
{{Account_functions}}&lt;br /&gt;
&lt;br /&gt;
==ACL functions==&lt;br /&gt;
{{ACL_functions}}&lt;br /&gt;
&lt;br /&gt;
==Admin functions==&lt;br /&gt;
{{Admin_functions}}&lt;br /&gt;
&lt;br /&gt;
==Audio functions==&lt;br /&gt;
{{Audio_functions}}&lt;br /&gt;
&lt;br /&gt;
==Announcement functions==&lt;br /&gt;
{{Announce_functions}}&lt;br /&gt;
&lt;br /&gt;
==Blip functions==&lt;br /&gt;
{{Blip_functions}}&lt;br /&gt;
&lt;br /&gt;
==Camera functions==&lt;br /&gt;
{{Camera_functions}}&lt;br /&gt;
&lt;br /&gt;
==Clothes and body functions==&lt;br /&gt;
{{Clothes_and_body_functions}}&lt;br /&gt;
&lt;br /&gt;
==Collision shape functions==&lt;br /&gt;
{{Collision_shape_functions}}&lt;br /&gt;
&lt;br /&gt;
==Cursor functions==&lt;br /&gt;
{{Cursor_functions}}&lt;br /&gt;
&lt;br /&gt;
==Element functions==&lt;br /&gt;
{{Element_functions}}&lt;br /&gt;
&lt;br /&gt;
==Event functions==&lt;br /&gt;
{{Event_functions}}&lt;br /&gt;
&lt;br /&gt;
==Explosion functions==&lt;br /&gt;
{{Explosion_functions}}&lt;br /&gt;
&lt;br /&gt;
==File functions==&lt;br /&gt;
{{File_functions}}&lt;br /&gt;
&lt;br /&gt;
==HTTP functions==&lt;br /&gt;
{{HTTP_functions}}&lt;br /&gt;
&lt;br /&gt;
==Input functions==&lt;br /&gt;
{{Input_functions}}&lt;br /&gt;
&lt;br /&gt;
==Map functions==&lt;br /&gt;
{{Map_functions}}&lt;br /&gt;
&lt;br /&gt;
==Marker functions==&lt;br /&gt;
{{Marker_functions}}&lt;br /&gt;
&lt;br /&gt;
==Matrix functions==&lt;br /&gt;
{{Shared_matrix_functions}}&lt;br /&gt;
&lt;br /&gt;
==Module functions==&lt;br /&gt;
{{Module_functions}}&lt;br /&gt;
&lt;br /&gt;
==Object functions==&lt;br /&gt;
{{Object_functions}}&lt;br /&gt;
&lt;br /&gt;
==Output functions==&lt;br /&gt;
{{Output_functions}}&lt;br /&gt;
&lt;br /&gt;
==Ped functions==&lt;br /&gt;
{{Ped_functions}}&lt;br /&gt;
&lt;br /&gt;
==Pickup functions==&lt;br /&gt;
{{Pickup_functions}}&lt;br /&gt;
&lt;br /&gt;
==Player functions==&lt;br /&gt;
{{Player_functions}}&lt;br /&gt;
&lt;br /&gt;
==Projectile functions==&lt;br /&gt;
{{Projectile_functions}}&lt;br /&gt;
&lt;br /&gt;
==Radar area functions==&lt;br /&gt;
{{Radar_area_functions}}&lt;br /&gt;
&lt;br /&gt;
==Resource functions==&lt;br /&gt;
{{Resource_functions}}&lt;br /&gt;
&lt;br /&gt;
==Server functions==&lt;br /&gt;
{{Server_functions}}&lt;br /&gt;
&lt;br /&gt;
==Settings registry functions==&lt;br /&gt;
{{Settings_registry_functions}}&lt;br /&gt;
&lt;br /&gt;
==SQL functions==&lt;br /&gt;
{{SQL_functions}}&lt;br /&gt;
&lt;br /&gt;
==Team functions==&lt;br /&gt;
{{Team_functions}}&lt;br /&gt;
&lt;br /&gt;
==Text functions==&lt;br /&gt;
{{Text_functions}}&lt;br /&gt;
&lt;br /&gt;
==Utility functions==&lt;br /&gt;
{{Utility_functions}}&lt;br /&gt;
&lt;br /&gt;
==UTF8 Library==&lt;br /&gt;
{{UTF8_functions}}&lt;br /&gt;
&lt;br /&gt;
==Vehicle functions==&lt;br /&gt;
{{Vehicle_functions}}&lt;br /&gt;
&lt;br /&gt;
==Water functions==&lt;br /&gt;
{{Water_functions}}&lt;br /&gt;
&lt;br /&gt;
==Weapon functions==&lt;br /&gt;
{{Weapon_functions}}&lt;br /&gt;
&lt;br /&gt;
==World functions==&lt;br /&gt;
{{World_functions}}&lt;br /&gt;
&lt;br /&gt;
==XML functions==&lt;br /&gt;
{{XML_functions}}&lt;br /&gt;
&lt;br /&gt;
[[hu:Server Scripting Functions]]&lt;br /&gt;
[[ar:Server Scripting Functions]]&lt;br /&gt;
[[de:Server-Seitige Scripting Funktionen]]&lt;br /&gt;
[[es:Funciones_del_Server]]&lt;br /&gt;
[[pl:Server Scripting Functions]]&lt;br /&gt;
[[pt-br:Funções de Scripting do Servidor]]&lt;br /&gt;
[[ru:Server Scripting Functions]]&lt;br /&gt;
[[tr:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Violence</name></author>
	</entry>
</feed>