<?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=Talal07</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=Talal07"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Talal07"/>
	<updated>2026-05-15T06:06:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getPlayerNametagColor&amp;diff=33788</id>
		<title>AR/getPlayerNametagColor</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getPlayerNametagColor&amp;diff=33788"/>
		<updated>2012-10-18T11:23:52Z</updated>

		<summary type="html">&lt;p&gt;Talal07: Created page with &amp;quot;__NOTOC__  {{Server client function}} &amp;lt;!-- Describe in plain english what this function does. Don't go into details, just give an overview --&amp;gt; هذه الوظيفة تقوم با...&amp;quot;&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;
هذه الوظيفة تقوم باحضار الوان تاج الاعب.&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, int, int getPlayerNametagColor ( player thePlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''thePlayer:''' الاعب الذي تريد احضار الوان تاجه.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''red'', ''green'' and ''blue'' values if an existent player was specified, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This console command will tell the player what his tag color is. The color is composed of a red, a green and a blue component, each ranging from 0-255.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function tagInfoCommand ( thePlayer, commandName )&lt;br /&gt;
	-- store the RGB data about the player who activated the command handler into the local variables r, g, b. &lt;br /&gt;
	local r, g, b = getPlayerNametagColor ( thePlayer )&lt;br /&gt;
	-- Display the RGB values in the chatbox&lt;br /&gt;
	outputChatBox ( &amp;quot;Your tag color is: R:&amp;quot; .. r .. &amp;quot; G:&amp;quot; .. g .. &amp;quot; B:&amp;quot; .. b, thePlayer )&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;retrievetagcolor&amp;quot;, tagInfoCommand )&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>Talal07</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getPlayerCount&amp;diff=33772</id>
		<title>AR/getPlayerCount</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getPlayerCount&amp;diff=33772"/>
		<updated>2012-10-17T20:32:43Z</updated>

		<summary type="html">&lt;p&gt;Talal07: Created page with &amp;quot;{{Server function}} __NOTOC__ هذه الوظيفة تقوم باحضار عدد الاعبين الموجودين في السيرفر {{Note|#getElementsByType(&amp;quot;player&amp;quot;) works t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
هذه الوظيفة تقوم باحضار عدد الاعبين الموجودين في السيرفر&lt;br /&gt;
{{Note|#getElementsByType(&amp;quot;player&amp;quot;) works the same as this function but also works client side unlike this function.}}&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 getPlayerCount ( )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the number of players connected to the server as an [[int]].&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example displays a chat message with the number of players connected to the server when a player joins or quits.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function playerCount ( )&lt;br /&gt;
	outputChatBox ( &amp;quot;There are now &amp;quot; .. getPlayerCount() .. &amp;quot; players on this server!&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerJoin&amp;quot;, getRootElement(), playerCount )&lt;br /&gt;
addEventHandler ( &amp;quot;onPlayerQuit&amp;quot;, getRootElement(), playerCount )&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>Talal07</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/getPlayerMoney&amp;diff=33771</id>
		<title>AR/getPlayerMoney</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/getPlayerMoney&amp;diff=33771"/>
		<updated>2012-10-17T20:29:45Z</updated>

		<summary type="html">&lt;p&gt;Talal07: Created page with &amp;quot;__NOTOC__ {{Server client function}} هذه الوظيفة تقوم باحضار مال الاعب  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; string getPlayerMoney ( player thePlayer ) &amp;lt;/syntaxhighlight&amp;gt;  =...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&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;
string getPlayerMoney ( player thePlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''thePlayer:''' الاعب الذي تريد احضار اسمه&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string containing the requested player's name, or ''false'' if the player passed to the function is invalid.&lt;br /&gt;
&lt;br /&gt;
==Example==&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;
addCommandHandler(&amp;quot;mymoney&amp;quot;,&lt;br /&gt;
  function(playerSource)&lt;br /&gt;
    outputChatBox(&amp;quot;Your money: &amp;quot;..getPlayerMoney(playerSource), playerSource)&lt;br /&gt;
  end&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Server player functions}}&lt;/div&gt;</summary>
		<author><name>Talal07</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPlayerName&amp;diff=33770</id>
		<title>GetPlayerName</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPlayerName&amp;diff=33770"/>
		<updated>2012-10-17T20:26:18Z</updated>

		<summary type="html">&lt;p&gt;Talal07: /* Required Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns a string containing the name of the specified player.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string getPlayerName ( player thePlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''thePlayer:''' the Player that you want to get his name&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string containing the requested player's name, or ''false'' if the player passed to the function is invalid.&lt;br /&gt;
&lt;br /&gt;
===Limits===&lt;br /&gt;
* Player name can consist of ASCII characters between 33 and 126 are allowed (basic latin):  &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;!&amp;quot;#$%&amp;amp;'()*+,-./0123456789:;&amp;lt;=&amp;gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Minimal player name length is 1 character. &lt;br /&gt;
* Maximum player name length is 22 characters.&lt;br /&gt;
* Player names are case-insensitive. It is not possible to have two clients with same name but different character case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&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;
addCommandHandler(&amp;quot;myname&amp;quot;,&lt;br /&gt;
  function(playerSource)&lt;br /&gt;
    outputChatBox(&amp;quot;Your name: &amp;quot;..getPlayerName(playerSource), playerSource)&lt;br /&gt;
  end&lt;br /&gt;
)&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;
This example outputs the local player name to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;myname&amp;quot;,&lt;br /&gt;
  function()&lt;br /&gt;
   local localPlayerName = getPlayerName(getLocalPlayer())&lt;br /&gt;
   --and we output it to the chatbox&lt;br /&gt;
   outputChatBox(localPlayerName)&lt;br /&gt;
  end&lt;br /&gt;
)&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 player functions}}&lt;/div&gt;</summary>
		<author><name>Talal07</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/createBlip&amp;diff=33769</id>
		<title>AR/createBlip</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/createBlip&amp;diff=33769"/>
		<updated>2012-10-17T20:23:27Z</updated>

		<summary type="html">&lt;p&gt;Talal07: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
هذه الوظيفة تقوم بعمل علامة في الخريطة تراها في الرادار مثل العلامات الموجوده على الاعبين&lt;br /&gt;
&lt;br /&gt;
==Syntax==&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;
blip createBlip ( float x, float y, float z, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255, &lt;br /&gt;
int ordering=0, float visibleDistance=99999.0, visibleTo = getRootElement()] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' للعلامه x احداثيات الـ&lt;br /&gt;
*'''y:''' للعلامه y احداثيات الـ&lt;br /&gt;
*'''z:''' للعلامه z احداثيات الـ&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''icon:''' شكل العلامة اختارها من التالي&lt;br /&gt;
{{Blip_Icons}}&lt;br /&gt;
*'''size:''' حجم العلامة و الحجم العادي 2&lt;br /&gt;
*'''r:''' لون العلامة الاحمر&lt;br /&gt;
*'''g:''' لون العلامة الاخضر&lt;br /&gt;
*'''b:''' لون العلامة الازرق&lt;br /&gt;
*'''a:''' مقدار الوضوح للعلامة من 0 - 255&lt;br /&gt;
{{New feature/item|3|1.0||&lt;br /&gt;
*'''ordering:''' This defines the blip's Z-level ordering (-32768 - 32767). Default is 0.&lt;br /&gt;
*'''visibleDistance:''' The maximum distance from the camera at which the blip is still visible&lt;br /&gt;
}}&lt;br /&gt;
*'''visibleTo:''' What elements can see the blip. Defaults to visible to everyone. See [[visibility]].&lt;br /&gt;
&amp;lt;/section&amp;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;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
blip createBlip ( float x, float y, float z, [int icon=0, int size=2, int r=255, int g=0, int b=0, int a=255, &lt;br /&gt;
int ordering=0, float visibleDistance ] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''x:''' The x position of the blip, in world coordinates.&lt;br /&gt;
*'''y:''' The y position of the blip, in world coordinates.&lt;br /&gt;
*'''z:''' The z position of the blip, in world coordinates.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''icon:''' The icon that the radar blips should be. Valid values are:&lt;br /&gt;
{{Blip_Icons}}&lt;br /&gt;
*'''size:''' The size of the radar blip. Only applicable to the ''Marker'' icon. Default is 2.&lt;br /&gt;
*'''r:''' The amount of red in the blip's color (0 - 255). Only applicable to the ''Marker'' icon. Default is 255. &lt;br /&gt;
*'''g:''' The amount of green in the blip's color (0 - 255). Only applicable to the ''Marker'' icon. Default is 0.&lt;br /&gt;
*'''b:''' The amount of blue in the blip's color (0 - 255). Only applicable to the ''Marker'' icon. Default is 0.&lt;br /&gt;
*'''a:''' The amount of alpha in the blip's color (0 - 255). Only applicable to the ''Marker'' icon. Default is 255.&lt;br /&gt;
{{New feature/item|3|1.0||&lt;br /&gt;
*'''ordering:''' This defines the blip's Z-level ordering (-32768 - 32767). Default is 0.&lt;br /&gt;
*'''visibleDistance:''' The maximum distance from the camera at which the blip is still visible&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Returns==&lt;br /&gt;
Returns an [[element]] of the [[blip]] if it was created successfully, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &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;
'''Example 1:''' This example creates a radar blip at a random player's position and makes it so that it is only visible to that player.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Pick a random player&lt;br /&gt;
myPlayer = getRandomPlayer ()&lt;br /&gt;
-- Retrieve the player's position and store it in the variables x, y and z&lt;br /&gt;
x,y,z = getElementPosition ( myPlayer )&lt;br /&gt;
-- Create a radar blip at the player's position, with a 'cash' icon and only visible to the player&lt;br /&gt;
myBlip = createBlip ( x, y, z, 51, 0, 0, 0, 255, myPlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Example 2:''' This example attaches a blip to a player. You can attach a blip to an element by just setting the blip's parent to that element.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Pick a random player&lt;br /&gt;
myPlayer = getRandomPlayer ()&lt;br /&gt;
-- Create a radar blip in the middle of the map&lt;br /&gt;
myBlip = createBlip ( 0, 0, 0 )&lt;br /&gt;
-- Make the player the parent of the blip, so that the blip follows the player around&lt;br /&gt;
setElementParent ( myBlip, myPlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Example 3:''' This example creates a blip at 0 , 0 , 0&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
--creates a blip at 0 , 0 , 0&lt;br /&gt;
createBlip ( 0 , 0 , 0 , 37 )&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;
{{AR/Blip_functions}}&lt;br /&gt;
&lt;br /&gt;
[[en:CreateBlip]]&lt;/div&gt;</summary>
		<author><name>Talal07</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=GetPlayerName&amp;diff=32645</id>
		<title>GetPlayerName</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=GetPlayerName&amp;diff=32645"/>
		<updated>2012-08-23T16:51:36Z</updated>

		<summary type="html">&lt;p&gt;Talal07: /* Required Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function returns a string containing the name of the specified player.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
string getPlayerName ( player thePlayer )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''thePlayer:''' الاعب الذي تريد احضار اسمه&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string containing the requested player's name, or ''false'' if the player passed to the function is invalid.&lt;br /&gt;
&lt;br /&gt;
===Limits===&lt;br /&gt;
* Player name can consist of ASCII characters between 33 and 126 are allowed (basic latin):  &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;!&amp;quot;#$%&amp;amp;'()*+,-./0123456789:;&amp;lt;=&amp;gt;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Minimal player name length is 1 character. &lt;br /&gt;
* Maximum player name length is 22 characters.&lt;br /&gt;
* Player names are case-insensitive. It is not possible to have two clients with same name but different character case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Example==&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;
addCommandHandler(&amp;quot;myname&amp;quot;,&lt;br /&gt;
  function(playerSource)&lt;br /&gt;
    outputChatBox(&amp;quot;Your name: &amp;quot;..getPlayerName(playerSource), playerSource)&lt;br /&gt;
  end&lt;br /&gt;
)&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;
This example outputs the local player name to the chatbox.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addCommandHandler(&amp;quot;myname&amp;quot;,&lt;br /&gt;
  function()&lt;br /&gt;
   local localPlayerName = getPlayerName(getLocalPlayer())&lt;br /&gt;
   --and we output it to the chatbox&lt;br /&gt;
   outputChatBox(localPlayerName)&lt;br /&gt;
  end&lt;br /&gt;
)&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 player functions}}&lt;/div&gt;</summary>
		<author><name>Talal07</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=AR/%D8%AF%D9%84%D9%8A%D9%84_%D8%A7%D9%84%D9%84%D8%A7%D8%B9%D8%A8&amp;diff=32644</id>
		<title>AR/دليل اللاعب</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/%D8%AF%D9%84%D9%8A%D9%84_%D8%A7%D9%84%D9%84%D8%A7%D8%B9%D8%A8&amp;diff=32644"/>
		<updated>2012-08-23T16:47:19Z</updated>

		<summary type="html">&lt;p&gt;Talal07: /* المفاتيح داخل اللعبة */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
==مقدمة==&lt;br /&gt;
Multi Theft Auto: San Andreas is the latest in a series of fan-created multiplayer modifications for the Grand Theft Auto games (PC versions only). For the GTA3 and Vice City versions that run on the old core, visit [http://www.multitheftauto.com/ http://www.multitheftauto.com]. This mod is not endorsed by Rockstar Games or Take 2 Interactive.&lt;br /&gt;
&lt;br /&gt;
==قبل أن تبدأ==&lt;br /&gt;
&lt;br /&gt;
قبل تثبيت MTA:SA , تأكد أولاً من عدم وجود أي تعديلات لـ GTA:SA وهذه تتعارض مع MTA.&lt;br /&gt;
إذا كنت ترغب في الحفاظ على التعديل الخاص بالسينقل بلآير ( لاعب واحد ), تستطيع تثبيتَ GTASA أخر على القرص الاخر بجهازك&lt;br /&gt;
وتأكد أيضا من ان تقوم بتشغيل &amp;quot;Windows XP&amp;quot; أوَ &amp;quot;Windows 2000&amp;quot; أوَ &amp;quot;Windows Vista&amp;quot;&lt;br /&gt;
أوَ &amp;quot;Windows server 2003&amp;quot; وهذا الجهاز الخاص بك قادر على تشغيل اللعبة بنظام السينقل بلآير ..&lt;br /&gt;
لاحظ أنه إذا كنت تقوم بتشغيل ( السينقل بلآير ) على الحد الادنى لمتطلبات تشغيل اللعبة , سوف تؤاجه بطئ في MTA ..&lt;br /&gt;
&lt;br /&gt;
* ملآحظة : MTA:SA تعمل فقط على GTA:SA v1.0.. إذا كنت قد اشتريت اللعبة مؤخراً, فمن المحتمل أن يكون لديك إصدار لاحق&lt;br /&gt;
&lt;br /&gt;
إذا كان للديك مشكلة او استفسار , [[Known_Issues_-_FAQ|Known Issues]] &lt;br /&gt;
أو عبر الدخول الى mIRC :&lt;br /&gt;
irc://irc.multitheftauto.com/mta&lt;br /&gt;
&lt;br /&gt;
===متطلبات النظام===&lt;br /&gt;
متطلبات النظام الادنى:&lt;br /&gt;
* Intel Pentium 4 or AMD Athlon XP&lt;br /&gt;
* 512MB DDR RAM&lt;br /&gt;
* Clean installation of Grand Theft Auto: San Andreas, version 1.0 (American or European)&lt;br /&gt;
* 3.7GB of free hard disk space (3.6GB for a minimum Grand Theft Auto installation)&lt;br /&gt;
* nVidia GeForce 4 series or ATI Radeon 8xxx series (64MB RAM and DirectX 9.0 compatible)&lt;br /&gt;
* DirectX 9.0 compatible sound card&lt;br /&gt;
* Keyboard and mouse&lt;br /&gt;
* Broadband internet access (for smooth online play)&lt;br /&gt;
&lt;br /&gt;
ميزات اضافية: من المستحسن بأن يكون كرت الفيديو:&lt;br /&gt;
* nVidia GeForce FX series  أو أعلىَ &lt;br /&gt;
* ATI Radeon 9xxx series أو اعلى&lt;br /&gt;
&lt;br /&gt;
==تثبيت اللعبة==&lt;br /&gt;
&lt;br /&gt;
'''This section will need to be updated when we get an installer'''&lt;br /&gt;
&lt;br /&gt;
# If you haven't already, download the MTA:SA client from the download page at mtasa.com.&lt;br /&gt;
# Run the installer. You will be asked which components to install:&lt;br /&gt;
#* '''Client''' interfaces with the game and is a required component.&lt;br /&gt;
#* '''MTA Server''' enables you to host your own home-brew server&lt;br /&gt;
#* '''MTA Server &amp;gt; Editor''' is used to create new maps, this is an optional component&lt;br /&gt;
# You are then asked for a folder in which to install the mod. This can by anywhere and doesn't have to be in you San Andreas directory.&lt;br /&gt;
# Next, you will be asked for the directory where you have San Andreas installed. The default location is: '''C:\Program Files\Rockstar Games\GTA San Andreas\'''.&lt;br /&gt;
# When the installation completes, you will be given the option to start MTA: San Andreas straight away. Choose your option and then press '''Finish'''.&lt;br /&gt;
# You will be able to launch MTA:DM from your Start Menu if you wish to play.&lt;br /&gt;
&lt;br /&gt;
==شرح تشغيل اللعبة==&lt;br /&gt;
# Start Multi Theft Auto by clicking the icon located in your Start Menu under '''MTA:San Andreas'''.&lt;br /&gt;
# GTA: San Andreas will start and once it is loaded, you will be presented with the MTA:SA main menu. Here you will find several options:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
[[Image:MENU_QuickConnect.jpg]]&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''Quick connect''' – this allows you to connect to a server that you already know the IP address or URL and port of. This is useful if you know precisely which server you want to join so that you don’t need to scroll through the whole server list.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
[[Image:Server_Browser.jpg|280px]]&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''Browse servers''' – this allows you to receive a list of available servers to play on. &amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
[[Image:Host_Game.jpg|280px]]&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''Host game''' – this allows you to start a local server. &amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
[[Image:Menu_Settings.JPG|280px]]&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''Settings '''– this allows you to change your in-game nickname, customize controls and adjust display settings.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
[[Image:About_Menu.jpg|280px]]&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''About '''– this gives you a list of contributors to the project.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
[[Image:Map_Editor.jpg|280px]]&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''Map editor '''– this allows you to create your own maps, complete with checkpoints, ramps, pickups and other objects. These can then be uploaded onto a server so that you can play them with other people.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;188&amp;quot; |&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
| width=&amp;quot;380&amp;quot; |&lt;br /&gt;
&amp;lt;font size=&amp;quot;-1&amp;quot; face=&amp;quot;tahoma,helvetica,arial,sans-serif&amp;quot;&amp;gt;'''Quit '''– this returns you back to your Windows desktop.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The easiest way to play the game is to click '''Browse Servers''' on the menu. If servers have not appeared already, press the '''Refresh''' button and MTA will scan for servers, displaying them as a list.&lt;br /&gt;
&lt;br /&gt;
* Under the '''Name''' tab, each server's name is displayed.&lt;br /&gt;
* Under the '''Players''' tab, the number of players and the maximum capacity of the server is displayed, in the format of [Used Slots] / [Maximum Slots].&lt;br /&gt;
* The '''Ping''' tab displays the ping, or latency, between your machine and the server. Ping is a measure of the time it takes for &amp;quot;packets&amp;quot; of data to be received back from the server after sending them, so a higher ping means that you will experience more lag on that particular server. Generally, servers closest to your location should have the lowest pings.&lt;br /&gt;
* The '''Host''' is the IP address of the server. You can use this address in future to connect to the same server via the Quick Connect option on the main menu.&lt;br /&gt;
&lt;br /&gt;
Each tab can be clicked to arrange the respective column in ascending or descending order.&lt;br /&gt;
&lt;br /&gt;
For optimal performance and gameplay, look for the best balance between players and ping.&lt;br /&gt;
&lt;br /&gt;
Once you have picked a server, select it and click the '''Connect''' button in the top right-hand corner of the dialog. If all goes well, you should connect to the server and automatically join the game.&lt;br /&gt;
&lt;br /&gt;
==شرح كيفية اللعب==&lt;br /&gt;
&lt;br /&gt;
MTA:SA offers a comprehensive scripting system that allows map creators to customize many elements of the game in order to create their own innovative game modes. The game incorporates as many single player elements as possible but some aspects are different.&lt;br /&gt;
&lt;br /&gt;
There are no pedestrians and no AI traffic on the road. The only other people on the map are your opponents, or allies if it is a team game. You can talk with them using the chatbox located in the left-hand corner of the screen by pressing '''T'''. To chat only to your team members, press '''Y'''.&lt;br /&gt;
&lt;br /&gt;
MTA's map editor allows map creators to add various GTA objects to their maps including roads, exploding barrels, ramps, buildings, hills and more. Not only this, but the objects can be scripted to move, change model and disappear. This offers a great deal of fun and variation to the gameplay. &lt;br /&gt;
&lt;br /&gt;
Holding Tab will display the scoreboard. By default, only names and pings are displayed, but scripts can add extra columns that are specific to the particular gamemode being played. For example, a deathmatch game mode would definitely have a column listing total kills, but the map creator may choose to add extra columns for the number of deaths you have and how long you have been playing for, in order to put your score into perspective.&lt;br /&gt;
&lt;br /&gt;
==التحكم==&lt;br /&gt;
&lt;br /&gt;
===المفاتيح داخل اللعبة===&lt;br /&gt;
&lt;br /&gt;
* F8 (or Tilde Key) لفتح شات الكونسوال&lt;br /&gt;
* F9 - In-game الدعم&lt;br /&gt;
* F11 - اظهار الخريطة ''(the following list is for use when the map is up)''&lt;br /&gt;
**numpad  /- - Zoom in and out&lt;br /&gt;
**numpad 4, 8, 6, 2 - move map left, up, right, down&lt;br /&gt;
**numpad 0 - toggle between attach to local player (map follows player blip) and free move (map stays stationary)  &lt;br /&gt;
* F12 - لتصوير الشاشة&lt;br /&gt;
* T - للتحدث في الشات&lt;br /&gt;
* Y - للتحدث في شات التيم&lt;br /&gt;
* TAB - لفتح السكور (if [[Scoreboard]] resource is running on the server)&lt;br /&gt;
&lt;br /&gt;
==أوامر الكونسول==&lt;br /&gt;
&lt;br /&gt;
'''bind defaults''' Binds control defaults in the settings menu&lt;br /&gt;
&lt;br /&gt;
Press '''~ (tilde)''' or '''F8''' to access the console, then type a command followed by any neccessary parameters (if applicable) then press Enter.&lt;br /&gt;
&lt;br /&gt;
;'''maps''' :This displays a list of all maps available on the server. &lt;br /&gt;
&lt;br /&gt;
;'''nick [nickname]''' :This changes your nickname whilst in-game to whatever you specify in the parameters.&lt;br /&gt;
&lt;br /&gt;
;'''msg [nickname] [message]''' or '''pm [nickname] [message]''' :This sends a private message to the person you specify in the [nickname] parameter. Only the person you specify can see the message. Both '''msg''' and '''pm''' perform the same function.&lt;br /&gt;
&lt;br /&gt;
;'''quit''' or '''exit''' :This disconnects you from the server and returns you to the Windows desktop. Performs the same function as the Quit button on the main menu.&lt;br /&gt;
&lt;br /&gt;
;'''ver''' :This displays the version number and copyright information for the software.&lt;br /&gt;
&lt;br /&gt;
;'''sver''' :This displays the version number of the server you are connected to.&lt;br /&gt;
&lt;br /&gt;
;'''time''' :This displays the current time.&lt;br /&gt;
&lt;br /&gt;
;'''disconnect''' :This disconnects you from the server and returns you to the main menu.&lt;br /&gt;
&lt;br /&gt;
;'''say [text]''' :This enables you to continue talking to people in the chat box whilst the console is open.&lt;br /&gt;
&lt;br /&gt;
;'''ignore [nickname]''' :This will not display any text typed by the player you wish to ignore. To stop ignoring a player, type '''ignore [nickname]''' again.&lt;br /&gt;
&lt;br /&gt;
'''Tip:''' You can use these commands in the chatbox by putting a / (forward slash) in front of them.&lt;br /&gt;
&lt;br /&gt;
A list of console commands can be seen by typing '''help''' into the console and pressing Enter. The current map may also have extra commands which can be accessed by typing '''commands''' into the console.&lt;br /&gt;
&lt;br /&gt;
==رموز الخطأ ومعانيها==&lt;br /&gt;
'''Download errors'''&amp;lt;br&amp;gt;&lt;br /&gt;
0: UNKNOWN_ERROR&amp;lt;br&amp;gt;&lt;br /&gt;
1: INVALID_FILE_DESCRIPTORS&amp;lt;br&amp;gt;&lt;br /&gt;
2: INVALID_MAX_FILE_DESCRIPTOR&amp;lt;br&amp;gt;&lt;br /&gt;
3: INVALID_SELECT_RETURN&amp;lt;br&amp;gt;&lt;br /&gt;
4: INVALID_INITIAL_MULTI_PERFORM&amp;lt;br&amp;gt;&lt;br /&gt;
5: INVALID_MULTI_PERFORM_CODE&amp;lt;br&amp;gt;&lt;br /&gt;
6: INVALID_MULTI_PERFORM_CODE_NEW_DOWNLOADS&amp;lt;br&amp;gt;&lt;br /&gt;
7: UNEXPECTED_CURL_MESSAGE&amp;lt;br&amp;gt;&lt;br /&gt;
8: UNABLE_TO_CONNECT&amp;lt;br&amp;gt;&lt;br /&gt;
9: UNABLE_TO_DOWNLOAD_FILE&amp;lt;br&amp;gt;&lt;br /&gt;
10: FAILED_TO_INITIALIZE_DOWNLOAD&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Fatal errors'''&amp;lt;br&amp;gt;&lt;br /&gt;
1: no local player model on ingame event&amp;lt;br&amp;gt;&lt;br /&gt;
2: no local player on ingame event&amp;lt;br&amp;gt;&lt;br /&gt;
3: server downloads disabled&amp;lt;br&amp;gt;&lt;br /&gt;
4: no local player model on player-list packet&amp;lt;br&amp;gt;&lt;br /&gt;
5: no local player on player-list packet&amp;lt;br&amp;gt;&lt;br /&gt;
6: invalid custom data length on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
7: invalid bitstream data on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
8: system entity on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
9: failed to create object on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
10: failed to create pickup on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
11: failed to create vehicle on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
12: invalid team-name length on entity-add packet&amp;lt;br&amp;gt;&lt;br /&gt;
13: invalid lua-event name length in lua-event packet&amp;lt;br&amp;gt;&lt;br /&gt;
14: invalid resource name length in resource-start packet&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''''Unable to enter vehicle' errors'''&amp;lt;br&amp;gt;&lt;br /&gt;
1: script cancelled&amp;lt;br&amp;gt;&lt;br /&gt;
2: script cancelled (jack)&amp;lt;br&amp;gt;&lt;br /&gt;
3: current occupier is entering/exiting&amp;lt;br&amp;gt;&lt;br /&gt;
4: invalid seat&amp;lt;br&amp;gt;&lt;br /&gt;
5: not close enough&amp;lt;br&amp;gt;&lt;br /&gt;
6: already in a vehicle&amp;lt;br&amp;gt;&lt;br /&gt;
7: already entering/exiting&amp;lt;br&amp;gt;&lt;br /&gt;
8: invalid vehicle (trailer)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Special: Playing MTA on Linux?==&lt;br /&gt;
If you're one of those who have Linux as OS, and want to have the client working on Linux,&lt;br /&gt;
please read the [[Client_on_Linux_Manual|Client on Linux Manual]]&lt;br /&gt;
&lt;br /&gt;
[[es:Manual Cliente Deathmatch]]&lt;br /&gt;
[[de:MTA DM Client Anleitung]]&lt;br /&gt;
[[it:Manuale del Client]]&lt;br /&gt;
[[nl:Deathmatch Client Manual]]&lt;br /&gt;
[[ru:Deathmatch Client Manual]]&lt;/div&gt;</summary>
		<author><name>Talal07</name></author>
	</entry>
</feed>