<?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=Jumba990</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=Jumba990"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Jumba990"/>
	<updated>2026-04-07T04:40:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPlayerAccount&amp;diff=16018</id>
		<title>GetPlayerAccount</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPlayerAccount&amp;diff=16018"/>
		<updated>2008-03-02T17:03:31Z</updated>

		<summary type="html">&lt;p&gt;Jumba990: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
Returns the accountname of the player&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getPlayerAccount ( player thePlayer )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player you wish the retrieve the name of the account from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an string with name of the account.&lt;br /&gt;
-- TODO -- What does it return if it isnt known?&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
When a player types '/account' this example retrieves the player's accountname, and prints it to his screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function viewAccount(thePlayer, command)&lt;br /&gt;
	-- get the name of the account from thePlayer&lt;br /&gt;
	local accountName = getPlayerAccount(thePlayer) &lt;br /&gt;
	&lt;br /&gt;
	-- output the message to the player&lt;br /&gt;
	outputChatBox(&amp;quot;Your account name is &amp;quot; .. accountName, thePlayer)  	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- add the console command&lt;br /&gt;
addCommandHandler(&amp;quot;account&amp;quot;, viewAccount)                                    &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Jumba990</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPlayerAccount&amp;diff=16017</id>
		<title>GetPlayerAccount</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPlayerAccount&amp;diff=16017"/>
		<updated>2008-03-02T17:03:14Z</updated>

		<summary type="html">&lt;p&gt;Jumba990: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
Returns the accountname of the player&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getPlayerAccount ( player thePlayer )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player you wish the retrieve the name of the account from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an string with name of the account.&lt;br /&gt;
-- TODO -- What does it return if it isnt known?&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
When a player types '/account' this example retrieves the player's accountname, and prints it to his screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function viewAccount(thePlayer, command)&lt;br /&gt;
	-- get the name of the account from thePlayer&lt;br /&gt;
	local accountName = [[getPlayerAccount]](thePlayer) &lt;br /&gt;
	&lt;br /&gt;
	-- output the message to the player&lt;br /&gt;
	outputChatBox(&amp;quot;Your account name is &amp;quot; .. accountName, thePlayer)  	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- add the console command&lt;br /&gt;
addCommandHandler(&amp;quot;account&amp;quot;, viewAccount)                                    &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Jumba990</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPlayerAccount&amp;diff=16016</id>
		<title>GetPlayerAccount</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPlayerAccount&amp;diff=16016"/>
		<updated>2008-03-02T17:02:54Z</updated>

		<summary type="html">&lt;p&gt;Jumba990: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server function}}&lt;br /&gt;
Returns the accountname of the player&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;int getPlayerAccount ( player thePlayer )&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' The player you wish the retrieve the name of the account from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns an string with name of the account.&lt;br /&gt;
-- TODO -- What does it return if it isnt known?&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
When a player types '/account' this example retrieves the player's accountname, and prints it to his screen.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function viewAccount(thePlayer, command)&lt;br /&gt;
	-- get the name of the account from thePlayer&lt;br /&gt;
	local accountName = getPlayerAccount(thePlayer) &lt;br /&gt;
	&lt;br /&gt;
	-- output the message to the player&lt;br /&gt;
	outputChatBox(&amp;quot;Your account name is &amp;quot; .. accountName, thePlayer)  	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- add the console command&lt;br /&gt;
addCommandHandler(&amp;quot;account&amp;quot;, viewAccount)                                    &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Player functions}}&lt;br /&gt;
[[Category:Incomplete]]&lt;/div&gt;</summary>
		<author><name>Jumba990</name></author>
	</entry>
</feed>