<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=GetKeyPress</id>
		<title>GetKeyPress - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=GetKeyPress"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetKeyPress&amp;action=history"/>
		<updated>2026-05-05T22:24:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=GetKeyPress&amp;diff=193&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot; ''function GetKeyPress(ID: byte; Key: string):boolean''    '''Parameter Info:'''   ID (Byte): Player ID to get the key press of.   Key (String): See Description for more info...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetKeyPress&amp;diff=193&amp;oldid=prev"/>
				<updated>2012-08-15T11:56:08Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;#039;&amp;#039;function GetKeyPress(ID: byte; Key: string):boolean&amp;#039;&amp;#039;    &amp;#039;&amp;#039;&amp;#039;Parameter Info:&amp;#039;&amp;#039;&amp;#039;   ID (Byte): Player ID to get the key press of.   Key (String): See Description for more info...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; ''function GetKeyPress(ID: byte; Key: string):boolean''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  ID (Byte): Player ID to get the key press of.&lt;br /&gt;
  Key (String): See Description for more information.&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  This function will return true/false if a player is holding down the specified key.&lt;br /&gt;
  &lt;br /&gt;
  '''Key        Result'''&lt;br /&gt;
  Left       Left key&lt;br /&gt;
  Right      Right key&lt;br /&gt;
  Up         Jump/Up Key&lt;br /&gt;
  Down       Crouch/Down key&lt;br /&gt;
  Shoot      Attack button&lt;br /&gt;
  Jetpack    Jetpack button&lt;br /&gt;
  Grenade    Grenade button&lt;br /&gt;
  Changewep  Change weapon button&lt;br /&gt;
  Throw      Throw Weapon button&lt;br /&gt;
  Reload     Reload Button&lt;br /&gt;
  Crouch     Crouch/Down key&lt;br /&gt;
  Prone      Prone key (will stay TRUE while proned)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
  if GetKeyPress(1, 'down') = true then&lt;br /&gt;
    WriteLn('Player 1 is crouching tiger hidden dragon!');&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Functions/GetKeyPress.html Old Scripting Manual page for GetKeyPress]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>