<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/OnAccountRemove?action=history&amp;feed=atom</id>
	<title>OnAccountRemove - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/OnAccountRemove?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnAccountRemove&amp;action=history"/>
	<updated>2026-05-16T03:48:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnAccountRemove&amp;diff=79413&amp;oldid=prev</id>
		<title>Tracer: Created page with &quot;__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is removed}} ==Parameters== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; account theAccount &lt;/syntaxhighlight&gt; *'''theAccount:''' An account element that was removed ==Source== The source of this event is the root element.  ==Canceling== This event cannot be canceled.  ==Example== This example prints a messa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnAccountRemove&amp;diff=79413&amp;oldid=prev"/>
		<updated>2024-05-26T10:02:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an &lt;a href=&quot;/wiki/Account&quot; title=&quot;Account&quot;&gt;account&lt;/a&gt; is removed}} ==Parameters== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; account theAccount &amp;lt;/syntaxhighlight&amp;gt; *&amp;#039;&amp;#039;&amp;#039;theAccount:&amp;#039;&amp;#039;&amp;#039; An &lt;a href=&quot;/wiki/Account&quot; title=&quot;Account&quot;&gt;account&lt;/a&gt; element that was removed ==Source== The &lt;a href=&quot;/wiki/Event_system#Event_source&quot; title=&quot;Event system&quot;&gt;source&lt;/a&gt; of this event is the &lt;a href=&quot;/wiki/Root&quot; class=&quot;mw-redirect&quot; title=&quot;Root&quot;&gt;root&lt;/a&gt; element.  ==Canceling== This event cannot be &lt;a href=&quot;/wiki/Event_system#Canceling&quot; title=&quot;Event system&quot;&gt;canceled&lt;/a&gt;.  ==Example== This example prints a messa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server event}}&lt;br /&gt;
{{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an [[account]] is removed}}&lt;br /&gt;
==Parameters==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
account theAccount&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''theAccount:''' An [[account]] element that was removed&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;
==Canceling==&lt;br /&gt;
This event cannot be [[Event system #Canceling|canceled]].&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example prints a message every time new account is created.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler('onAccountRemove', root, function(acc)&lt;br /&gt;
    local accName = getAccountName(acc)&lt;br /&gt;
    local accType = getAccountType(acc) or 'Unknown'&lt;br /&gt;
    iprint('An account has been removed! Type: '..accType..', name: '..accName)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{See also/Server event|Server events}}&lt;/div&gt;</summary>
		<author><name>Tracer</name></author>
	</entry>
</feed>