<?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=Jumba</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=Jumba"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Jumba"/>
	<updated>2026-06-07T08:57:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Modules/SHA&amp;diff=23425</id>
		<title>Modules/SHA</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Modules/SHA&amp;diff=23425"/>
		<updated>2010-05-11T01:05:29Z</updated>

		<summary type="html">&lt;p&gt;Jumba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;#0099AA&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
{{Module_Info|&lt;br /&gt;
  name           = SHA |&lt;br /&gt;
  version        = 1.01 |&lt;br /&gt;
  author         = [[User:mabako|mabako]] |&lt;br /&gt;
  module_website = [http://github.com/mabako/mta-sha GitHub Project Page] |&lt;br /&gt;
  download_link  = [http://github.com/mabako/mta-sha/downloads Here] |&lt;br /&gt;
  license        = [http://www.opensource.org/licenses/zlib-license.php zLib]&lt;br /&gt;
}}&lt;br /&gt;
SHA is a module implementing SHA hashing for lua.&lt;br /&gt;
&lt;br /&gt;
==Provided Functions==&lt;br /&gt;
* sha1&lt;br /&gt;
* sha224&lt;br /&gt;
* sha256&lt;br /&gt;
* sha384&lt;br /&gt;
* sha512&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=SetPlayerNametagText&amp;diff=22130</id>
		<title>SetPlayerNametagText</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=SetPlayerNametagText&amp;diff=22130"/>
		<updated>2009-12-31T18:49:59Z</updated>

		<summary type="html">&lt;p&gt;Jumba: Changed getPlayerFromNick to getPlayerFromName&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
&amp;lt;!-- Describe in plain english what this function does. Don't go into details, just give an overview --&amp;gt;&lt;br /&gt;
This will change the text of a player's nickname in the world to something besides the nickname he chose. This will not change the player's actual nickname, it only changes the visible aspect inside the world (you will see his original nickname in the scoreboard and will refer to his original name in scripts).&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd --&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPlayerNametagText ( player thePlayer, string text )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
&amp;lt;!-- List each argument one per line. This should be the argument's name as in the argument list above, NOT the argument's data type --&amp;gt;&lt;br /&gt;
*'''thePlayer:''' The player whose nickname text you wish to change&lt;br /&gt;
*'''text:''' The new nickname text that will be displayed&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&amp;lt;!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check --&amp;gt;&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This console command lets you change the name tag of lamers.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function iHateLamers ( thePlayer, commandName, playername )&lt;br /&gt;
    -- This is a command handler that activates on text &amp;quot;lamer&amp;quot; followed by the playername&lt;br /&gt;
    -- in the console. The playername argument was added as an extra function argument to store the&lt;br /&gt;
    -- name of the player whose text will be changed.&lt;br /&gt;
    if playername == false then&lt;br /&gt;
        -- Prevents the command from running if the player did not specify a value for playername&lt;br /&gt;
        outputChatBox ( &amp;quot;You MUST define a player to change his name tag!&amp;quot; )&lt;br /&gt;
    else&lt;br /&gt;
        culprit = getPlayerFromName ( playername )&lt;br /&gt;
        -- This variable stores the result of trying to find the player associated with the playername&lt;br /&gt;
        -- that the user of the command specified&lt;br /&gt;
        if culprit ~= false then&lt;br /&gt;
            -- This checks to make sure a player nick was found. If it was not then the playername argument&lt;br /&gt;
            -- specified by the command user was not equivalent to the name of any players in the server&lt;br /&gt;
            setPlayerNametagText ( culprit, &amp;quot;IM_LAME&amp;quot; )&lt;br /&gt;
            -- finally, the nickname text is changed since the command arguments were checked and are valid&lt;br /&gt;
        else&lt;br /&gt;
            outputChatBox ( &amp;quot;Player does not exist!&amp;quot; )&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;lamer&amp;quot;, iHateLamers )&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;
{{Player_functions}}&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientChangeNick&amp;diff=15770</id>
		<title>OnClientChangeNick</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientChangeNick&amp;diff=15770"/>
		<updated>2008-02-10T23:01:39Z</updated>

		<summary type="html">&lt;p&gt;Jumba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Incomplete Event]]&lt;br /&gt;
{{Server event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggered when a player changes his nickname.&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 oldNick, string newNick&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''oldNick:''' the nickname the player had before.&lt;br /&gt;
*'''newNick:''' the new nickname of the player.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player that changed his nick&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{See also/Server event|Client events}}&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnClientChangeNick&amp;diff=15769</id>
		<title>OnClientChangeNick</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnClientChangeNick&amp;diff=15769"/>
		<updated>2008-02-10T22:54:45Z</updated>

		<summary type="html">&lt;p&gt;Jumba: New page: Category:Incomplete Event {{Server event}} __NOTOC__  This event is triggered when a player changes his nickname.  ==Parameters==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string oldNick, string newNick &amp;lt;/syntaxhighlight&amp;gt; ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Incomplete Event]]&lt;br /&gt;
{{Server event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event is triggered when a player changes his nickname.&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 oldNick, string newNick&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*'''oldNick:''' the nickname the player had before.&lt;br /&gt;
*'''newNick:''' the new nickname of the player.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
The source of this event is the player that changed his nick&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===Client player events===&lt;br /&gt;
{{Server_player_events}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Server_event_functions}}&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jumba&amp;diff=15768</id>
		<title>User:Jumba</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jumba&amp;diff=15768"/>
		<updated>2008-02-10T22:54:26Z</updated>

		<summary type="html">&lt;p&gt;Jumba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi :P&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChangeNick&amp;diff=15767</id>
		<title>Talk:OnClientChangeNick</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChangeNick&amp;diff=15767"/>
		<updated>2008-02-10T22:54:04Z</updated>

		<summary type="html">&lt;p&gt;Jumba: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've made a page according to some stuff I know, but I can't get the event to work, so if anyone knows how to make a nice working example it'd be great if you could add it --[[User:Jumba|Jumba]] 16:54, 10 February 2008 (CST)&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChangeNick&amp;diff=15766</id>
		<title>Talk:OnClientChangeNick</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChangeNick&amp;diff=15766"/>
		<updated>2008-02-10T22:52:56Z</updated>

		<summary type="html">&lt;p&gt;Jumba: New page: I've made a page according to some stuff I know, but I can't get the event to work, so if anyone knows how to make a nice working example it'd be great if you could add it&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've made a page according to some stuff I know, but I can't get the event to work, so if anyone knows how to make a nice working example it'd be great if you could add it&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jumba&amp;diff=14726</id>
		<title>User:Jumba</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jumba&amp;diff=14726"/>
		<updated>2008-01-12T05:41:53Z</updated>

		<summary type="html">&lt;p&gt;Jumba: New page: Phail&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Phail&lt;/div&gt;</summary>
		<author><name>Jumba</name></author>
	</entry>
</feed>