<?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=Anthony+Junakovic</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=Anthony+Junakovic"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Anthony_Junakovic"/>
	<updated>2026-04-07T09:20:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BindKey&amp;diff=40983</id>
		<title>BindKey</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BindKey&amp;diff=40983"/>
		<updated>2014-07-21T21:25:44Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Binds a player's key to a handler function or command, which will be called when the key is pressed. &lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server - Syntax 1&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;bindKey ( player thePlayer, string key, string keyState, function handlerFunction,  [ var arguments, ... ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePlayer:''' The player you wish to bind the key of.&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys and [[control names]] for a list of possible controls.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
*'''handlerFunction:''' The function that will be triggered when the player's key is pressed. This function should have the form:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function functionName ( player keyPresser, string key, string keyState, [ var arguments, ... ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:The values passed to this function are:&lt;br /&gt;
:*'''keyPresser:''' The player who pressed the key&lt;br /&gt;
:*'''key:''' The key that was pressed&lt;br /&gt;
:*'''keyState:''' The state of the key that was pressed, ''down'' if it was pressed, ''up'' if it was released.&lt;br /&gt;
:*'''arguments''' The optional arguments you specified when calling [[bindKey]] (see below).&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server - Syntax 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This alternative syntax allows you to bind a key with a command.  This will also allow users to customize the control in their Settings menu.  Use in conjunction with [[addCommandHandler]] to add handler functions to the keybind.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bindKey ( player thePlayer, string key, string keyState, string commandName, [ string arguments ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePlayer:''' The player you wish to bind the key of.&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
*'''commandName:''' The name of the command that the key should be binded to.  &lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''arguments''' Space delimited arguments that are entered as if one was typing the command.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client - Syntax 1&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;bindKey ( string key, string keyState, function handlerFunction,  [ var arguments, ... ] ) &amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys and [[control names]] for a list of possible controls.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
&amp;lt;!--*'''bindName:''' The name for this key bind when it appears in the client's settings dialog.--&amp;gt;&lt;br /&gt;
*'''handlerFunction:''' The function that will be triggered when the player's key is pressed. This function should have the form:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function functionName ( string key, string keyState, [ var arguments, ... ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:The values passed to this function are:&lt;br /&gt;
:*'''key:''' The key that was pressed&lt;br /&gt;
:*'''keyState:''' The state of the key that was pressed, ''down'' if it was pressed, ''up'' if it was released.&lt;br /&gt;
:*'''arguments''' The optional arguments you specified when calling [[bindKey]] (see below).&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client - Syntax 2&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This alternative syntax allows you to bind a key with a command.  This will also allow users to customize the control in their Settings menu.  Use in conjunction with [[addCommandHandler]] to add handler functions to the keybind.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bindKey ( string key, string keyState, string commandName, [ string arguments ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
*'''commandName:''' The name of the command that the key should be binded to.  &lt;br /&gt;
*'''arguments''' Space delimited arguments that are entered as if one was typing the command.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''arguments:''' Any arguments you may want to pass to the function when the key is pressed by the user. Any number of arguments of  can be specified, each being passed to the designated function. You may not pass functions.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|7948|bindKey using a command and control name doesn't work}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Example 1&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;
This example will bind a player's 'F1' key and 'fire' control to 1 input function.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function funcInput ( player, key, keyState )&lt;br /&gt;
  local state = &amp;quot;let go of&amp;quot;&lt;br /&gt;
  if ( keyState == &amp;quot;down&amp;quot; ) then&lt;br /&gt;
    state = &amp;quot;pressed&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  outputChatBox ( getPlayerName ( player) .. &amp;quot; &amp;quot; .. state .. &amp;quot; the &amp;quot; .. key .. &amp;quot; key!&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function bindTheKeys ( player, commandName )&lt;br /&gt;
  bindKey ( player, &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, funcInput )   -- bind the player's F1 down key&lt;br /&gt;
  bindKey ( player, &amp;quot;F1&amp;quot;, &amp;quot;up&amp;quot;, funcInput )     -- bind the player's F1 up key&lt;br /&gt;
  bindKey ( player, &amp;quot;fire&amp;quot;, &amp;quot;both&amp;quot;, funcInput ) -- bind the player's fire down and up control&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;bindme&amp;quot;, bindTheKeys )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 2&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 will bind a player's 'F1' key and 'fire' control to 1 input function, clientside.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function funcInput ( key, keyState )&lt;br /&gt;
  local state = &amp;quot;let go of&amp;quot;&lt;br /&gt;
  if ( keyState == &amp;quot;down&amp;quot; ) then&lt;br /&gt;
    state = &amp;quot;pressed&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  outputChatBox ( &amp;quot;You &amp;quot; .. state .. &amp;quot; the &amp;quot; .. key .. &amp;quot; key!&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function bindTheKeys ()&lt;br /&gt;
  bindKey ( &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, funcInput )   -- bind the player's F1 down key&lt;br /&gt;
  bindKey ( &amp;quot;F1&amp;quot;, &amp;quot;up&amp;quot;, funcInput )     -- bind the player's F1 up key&lt;br /&gt;
  bindKey ( &amp;quot;fire&amp;quot;, &amp;quot;both&amp;quot;, funcInput ) -- bind the player's fire down and up control&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;bindme&amp;quot;, bindTheKeys )&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;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example says how cool &amp;lt;s&amp;gt;Robpol86&amp;lt;/s&amp;gt; &amp;lt;s&amp;gt;Ransom&amp;lt;/s&amp;gt; &amp;lt;s&amp;gt;Aintaro&amp;lt;/s&amp;gt; ADCX is if players wants to move.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function fanFunction()&lt;br /&gt;
  bindKey (source,&amp;quot;forwards&amp;quot;,&amp;quot;down&amp;quot;,&lt;br /&gt;
    function(player,key,state)&lt;br /&gt;
      outputChatBox (getPlayerName (player) .. &amp;quot;#FFFF00 thinks ADCX is cool.&amp;quot;,getRootElement(),255,255,0,true)&lt;br /&gt;
    end&lt;br /&gt;
  )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler (&amp;quot;onPlayerLogin&amp;quot;,getRootElement(),fanFunction)&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;
{{Input functions}}&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=BindKey&amp;diff=40982</id>
		<title>BindKey</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=BindKey&amp;diff=40982"/>
		<updated>2014-07-21T21:25:12Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Binds a player's key to a handler function or command, which will be called when the key is pressed. &lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;section name=&amp;quot;Server - Syntax 1&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;bindKey ( player thePlayer, string key, string keyState, function handlerFunction,  [ var arguments, ... ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePlayer:''' The player you wish to bind the key of.&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys and [[control names]] for a list of possible controls.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
*'''handlerFunction:''' The function that will be triggered when the player's key is pressed. This function should have the form:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function functionName ( player keyPresser, string key, string keyState, [ var arguments, ... ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:The values passed to this function are:&lt;br /&gt;
:*'''keyPresser:''' The player who pressed the key&lt;br /&gt;
:*'''key:''' The key that was pressed&lt;br /&gt;
:*'''keyState:''' The state of the key that was pressed, ''down'' if it was pressed, ''up'' if it was released.&lt;br /&gt;
:*'''arguments''' The optional arguments you specified when calling [[bindKey]] (see below).&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server - Syntax 2&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This alternative syntax allows you to bind a key with a command.  This will also allow users to customize the control in their Settings menu.  Use in conjunction with [[addCommandHandler]] to add handler functions to the keybind.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bindKey ( player thePlayer, string key, string keyState, string commandName, [ string arguments ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''thePlayer:''' The player you wish to bind the key of.&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
*'''commandName:''' The name of the command that the key should be binded to.  &lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''arguments''' Space delimited arguments that are entered as if one was typing the command.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client - Syntax 1&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;bindKey ( string key, string keyState, function handlerFunction,  [ var arguments, ... ] ) &amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys and [[control names]] for a list of possible controls.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
&amp;lt;!--*'''bindName:''' The name for this key bind when it appears in the client's settings dialog.--&amp;gt;&lt;br /&gt;
*'''handlerFunction:''' The function that will be triggered when the player's key is pressed. This function should have the form:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;function functionName ( string key, string keyState, [ var arguments, ... ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:The values passed to this function are:&lt;br /&gt;
:*'''key:''' The key that was pressed&lt;br /&gt;
:*'''keyState:''' The state of the key that was pressed, ''down'' if it was pressed, ''up'' if it was released.&lt;br /&gt;
:*'''arguments''' The optional arguments you specified when calling [[bindKey]] (see below).&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{New feature|3|1.0|&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client - Syntax 2&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This alternative syntax allows you to bind a key with a command.  This will also allow users to customize the control in their Settings menu.  Use in conjunction with [[addCommandHandler]] to add handler functions to the keybind.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bindKey ( string key, string keyState, string commandName, [ string arguments ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''key:''' The key or control you wish to bind to the command. See [[key names]] for a list of possible keys.&lt;br /&gt;
*'''keyState:''' A string that has one of the following values:&lt;br /&gt;
**'''&amp;quot;up&amp;quot;:''' If the bound key should trigger the function when the key is released&lt;br /&gt;
**'''&amp;quot;down&amp;quot;:''' If the bound key should trigger the function when the key is pressed&lt;br /&gt;
**'''&amp;quot;both&amp;quot;:''' If the bound key should trigger the function when the key is pressed or released&lt;br /&gt;
*'''commandName:''' The name of the command that the key should be binded to.  &lt;br /&gt;
*'''arguments''' Space delimited arguments that are entered as if one was typing the command.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments=== &lt;br /&gt;
{{OptionalArg}} &lt;br /&gt;
*'''arguments:''' Any arguments you may want to pass to the function when the key is pressed by the user. Any number of arguments of  can be specified, each being passed to the designated function. You may not pass functions.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
{{Issues|&lt;br /&gt;
{{Issue|7948|bindKey using a command and control name doesn't work}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Example 1&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;
This example will bind a player's 'F1' key and 'fire' control to 1 input function.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function funcInput ( player, key, keyState )&lt;br /&gt;
  local state = &amp;quot;let go of&amp;quot;&lt;br /&gt;
  if ( keyState == &amp;quot;down&amp;quot; ) then&lt;br /&gt;
    state = &amp;quot;pressed&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  outputChatBox ( getPlayerName ( player) .. &amp;quot; &amp;quot; .. state .. &amp;quot; the &amp;quot; .. key .. &amp;quot; key!&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function bindTheKeys ( player, commandName )&lt;br /&gt;
  bindKey ( player, &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, funcInput )   -- bind the player's F1 down key&lt;br /&gt;
  bindKey ( player, &amp;quot;F1&amp;quot;, &amp;quot;up&amp;quot;, funcInput )     -- bind the player's F1 up key&lt;br /&gt;
  bindKey ( player, &amp;quot;fire&amp;quot;, &amp;quot;both&amp;quot;, funcInput ) -- bind the player's fire down and up control&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;bindme&amp;quot;, bindTheKeys )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 2&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 will bind a player's 'F1' key and 'fire' control to 1 input function, clientside.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function funcInput ( key, keyState )&lt;br /&gt;
  local state = &amp;quot;let go of&amp;quot;&lt;br /&gt;
  if ( keyState == &amp;quot;down&amp;quot; ) then&lt;br /&gt;
    state = &amp;quot;pressed&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  outputChatBox ( &amp;quot;You &amp;quot; .. state .. &amp;quot; the &amp;quot; .. key .. &amp;quot; key!&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function bindTheKeys ()&lt;br /&gt;
  bindKey ( &amp;quot;F1&amp;quot;, &amp;quot;down&amp;quot;, funcInput )   -- bind the player's F1 down key&lt;br /&gt;
  bindKey ( &amp;quot;F1&amp;quot;, &amp;quot;up&amp;quot;, funcInput )     -- bind the player's F1 up key&lt;br /&gt;
  bindKey ( &amp;quot;fire&amp;quot;, &amp;quot;both&amp;quot;, funcInput ) -- bind the player's fire down and up control&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler ( &amp;quot;bindme&amp;quot;, bindTheKeys )&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;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
This example says how cool &amp;lt;s&amp;gt;Robpol86&amp;lt;/s&amp;gt; &amp;lt;s&amp;gt;Ransom&amp;lt;/s&amp;gt; &amp;lt;s&amp;gt;Aintaro&amp;lt;/s&amp;gt; ADCX is if players wants to move.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function fanFunction()&lt;br /&gt;
  bindKey (source,&amp;quot;forwards&amp;quot;,&amp;quot;down&amp;quot;,&lt;br /&gt;
    function(player,key,state)&lt;br /&gt;
      outputChatBox (getPlayerName (player) .. &amp;quot;#FFFF00 thinks &amp;lt;s&amp;gt;Aintaro&amp;lt;/s&amp;gt; ADCX is cool.&amp;quot;,getRootElement(),255,255,0,true)&lt;br /&gt;
    end&lt;br /&gt;
  )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler (&amp;quot;onPlayerLogin&amp;quot;,getRootElement(),fanFunction)&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;
{{Input functions}}&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40875</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40875"/>
		<updated>2014-07-15T12:20:43Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;br /&gt;
&lt;br /&gt;
==Versions==&lt;br /&gt;
*[1.0.4] https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40874</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40874"/>
		<updated>2014-07-15T12:20:21Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;br /&gt;
&lt;br /&gt;
==All Versions==&lt;br /&gt;
*[1.0.4] https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40871</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40871"/>
		<updated>2014-07-15T12:18:46Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;br /&gt;
&lt;br /&gt;
==Old Versions==&lt;br /&gt;
*[1.0.4] https://www.mediafire.com/?gl2kd6dxxemng5a&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40869</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40869"/>
		<updated>2014-07-15T12:18:29Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;br /&gt;
&lt;br /&gt;
==Old Versions==&lt;br /&gt;
*[1.0.4]: https://www.mediafire.com/?gl2kd6dxxemng5a&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40868</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40868"/>
		<updated>2014-07-15T12:18:10Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a (Latest)&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;br /&gt;
&lt;br /&gt;
==Old Versions==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a (1.0.4)&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40866</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40866"/>
		<updated>2014-07-15T12:17:00Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Download: https://www.mediafire.com/?gl2kd6dxxemng5a&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40748</id>
		<title>Resource:Gang Manager</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Resource:Gang_Manager&amp;diff=40748"/>
		<updated>2014-07-13T12:22:49Z</updated>

		<summary type="html">&lt;p&gt;Anthony Junakovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pageclass class=&amp;quot;resource&amp;quot; subcaption=&amp;quot;Resource&amp;quot;&amp;gt;&amp;lt;/pageclass&amp;gt;&lt;br /&gt;
&amp;lt;removeNamespaceName&amp;gt;&amp;lt;/removeNamespaceName&amp;gt;&lt;br /&gt;
{{Outdated|Resource not included in recent MTA distributions.}}&lt;br /&gt;
Gang Manager lets you join or create gang and manage it with simple and intuitive interface, activated by pressing the F5 key on your keyboard by default. By being in a gang you can chat with other gang members, deposit or withdraw shared gang money and read gang updates or rules.&lt;br /&gt;
&lt;br /&gt;
When you create a gang, you are set as it's leader and you have all the permissions. You can invite players, who are logged in, to join your gang, and change their permission and progression level from 1 to 5. When you invite a player, he is shown a small window in the right bottom of the screen and to accept invitation he presses the X key on the keyboard by default and to reject invitation N, or even to disable all gang invitations for his current gameplay session he can press K by default.&lt;br /&gt;
&lt;br /&gt;
Gang Manager contains an editable file, settings.ini, in which you can change default hotkeys and other settings.&lt;br /&gt;
&lt;br /&gt;
Gang Manager exports 32 functions, client and server in total. Their documentation can be found in function.txt file inside the resource.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
*'''Client'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
*'''Server'''&lt;br /&gt;
**[[Resource:Gang_Manager/createGang|createGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/deleteGang|deleteGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangColor|getGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangLeader|getGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangMoney|getGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangName|getGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangPermissions|getGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangRules|getGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/getGangTag|getGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerGang|getPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/getPlayerLevel|getPlayerLevel]]&lt;br /&gt;
**[[Resource:Gang_Manager/isPlayerLeader|isPlayerLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/leaveGang|leaveGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/outputGangChat|outputGangChat]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangColor|setGangColor]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangLeader|setGangLeader]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangMoney|setGangMoney]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangName|setGangName]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangPermissions|setGangPermissions]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangRules|setGangRules]]&lt;br /&gt;
**[[Resource:Gang_Manager/setGangTag|setGangTag]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerGang|setPlayerGang]]&lt;br /&gt;
**[[Resource:Gang_Manager/setPlayerLevel|setPlayerLevel]]&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
*Community: http://community.multitheftauto.com/index.php?p=resources&amp;amp;s=details&amp;amp;id=9510&lt;br /&gt;
*Forum: http://forum.mtasa.com/viewtopic.php?f=108&amp;amp;t=76902&lt;/div&gt;</summary>
		<author><name>Anthony Junakovic</name></author>
	</entry>
</feed>