<?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=GetPlayerStat</id>
		<title>GetPlayerStat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=GetPlayerStat"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetPlayerStat&amp;action=history"/>
		<updated>2026-05-26T04:00:08Z</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=GetPlayerStat&amp;diff=3217&amp;oldid=prev</id>
		<title>Gr0t: Fixed table</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetPlayerStat&amp;diff=3217&amp;oldid=prev"/>
				<updated>2020-04-15T21:45:55Z</updated>
		
		<summary type="html">&lt;p&gt;Fixed table&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:45, 15 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; {| class=&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;prettytable&lt;/del&gt;&amp;quot; width=&amp;quot;40%&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; {| class=&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wikitable&lt;/ins&gt;&amp;quot; width=&amp;quot;40%&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ! Stat || Result || Type&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ! Stat || Result || Type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; |-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; |-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key soldatdevs-wiki:diff:version:1.11a:oldid:48:newid:3217 --&gt;
&lt;/table&gt;</summary>
		<author><name>Gr0t</name></author>	</entry>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=GetPlayerStat&amp;diff=48&amp;oldid=prev</id>
		<title>Freeman: Created page with &quot;===From the Scripting Manual===  ''function GetPlayerStat(ID: byte; Stat: string): variant;''    '''Parameter Info:'''   ID (Byte): Player ID to get the stat of.   Stat (Strin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=GetPlayerStat&amp;diff=48&amp;oldid=prev"/>
				<updated>2012-08-15T08:19:38Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===From the Scripting Manual===  &amp;#039;&amp;#039;function GetPlayerStat(ID: byte; Stat: string): variant;&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 stat of.   Stat (Strin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===From the Scripting Manual===&lt;br /&gt;
 ''function GetPlayerStat(ID: byte; Stat: string): variant;''&lt;br /&gt;
 &lt;br /&gt;
 '''Parameter Info:'''&lt;br /&gt;
  ID (Byte): Player ID to get the stat of.&lt;br /&gt;
  Stat (String): See Description for more information.&lt;br /&gt;
 &lt;br /&gt;
 '''Description:'''&lt;br /&gt;
  This function will return some information about the specified player (ID).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 {| class=&amp;quot;prettytable&amp;quot; width=&amp;quot;40%&amp;quot;&lt;br /&gt;
 ! Stat || Result || Type&lt;br /&gt;
 |-&lt;br /&gt;
 | Kills || Player kills || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Deaths || Player deaths || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Ping || Player ping || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Team || Player team || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | Active || Is in-game? || Boolean&lt;br /&gt;
 |-&lt;br /&gt;
 | IP || Player IP || String&lt;br /&gt;
 |-&lt;br /&gt;
 | Port || Player port || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Name || Player name || String&lt;br /&gt;
 |-&lt;br /&gt;
 | Alive || Is player alive? || Boolean&lt;br /&gt;
 |-&lt;br /&gt;
 | Health || Player health || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Primary || Primary weapon || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | Secondary || Secondary weapon || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | Ammo || Primary ammo || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | SecAmmo || Secondary ammo || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | Jets || Jet amount || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Grenades || Grenade amount || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | X || Player X coordinate || Single&lt;br /&gt;
 |-&lt;br /&gt;
 | Y || Player Y coordinate || Single&lt;br /&gt;
 |-&lt;br /&gt;
 | Flagger || Player holding a flag? || Boolean&lt;br /&gt;
 |-&lt;br /&gt;
 | Time || Time in server (minutes) || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Ground || Is player on ground || Boolean&lt;br /&gt;
 |-&lt;br /&gt;
 | Human || Is player human? || Boolean&lt;br /&gt;
 |-&lt;br /&gt;
 | VelX || X velocity || Single&lt;br /&gt;
 |-&lt;br /&gt;
 | VelY || Y velocity || Single&lt;br /&gt;
 |-&lt;br /&gt;
 | Vest || Vest amount || Integer&lt;br /&gt;
 |-&lt;br /&gt;
 | Direction || Player facing direction ('&amp;amp;lt;' or '&amp;amp;gt;') || Char&lt;br /&gt;
 |-&lt;br /&gt;
 | Mute || Is player muted? || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | Flags || Flag captures || Byte&lt;br /&gt;
 |-&lt;br /&gt;
 | TagID || Player's Portal TagID || String&lt;br /&gt;
 |-&lt;br /&gt;
 | Registered || Is player registered? || Boolean&lt;br /&gt;
 |-&lt;br /&gt;
 | WepCount || ? (unique weapons player used on a map ?) || ? (unsigned integer of some sort)&lt;br /&gt;
 |-&lt;br /&gt;
 | HWID || Player's Hardware ID || String (contains alphanumeric chars)&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pascal&amp;quot;&amp;gt;begin&lt;br /&gt;
    WriteLn('Player1''s health is '+inttostr(GetPlayerStat(1,'health')));&lt;br /&gt;
    WriteLn('Player1''s ping is '+inttostr(GetPlayerStat(1,'PiNg'))); //Case does not matter!&lt;br /&gt;
    WriteLn('Player1''s IP is '+GetPlayerStat(1,'ip'));&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://enesce.com/help/index.html?Functions/GetPlayerStat.html Scripting Manual page for GetPlayerStat]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server Scripting]][[Category:Server Scripting Functions]]&lt;/div&gt;</summary>
		<author><name>Freeman</name></author>	</entry>

	</feed>