<?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=TActivePlayer.OnFlagScore</id>
		<title>TActivePlayer.OnFlagScore - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TActivePlayer.OnFlagScore"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TActivePlayer.OnFlagScore&amp;action=history"/>
		<updated>2026-05-26T05:31:02Z</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=TActivePlayer.OnFlagScore&amp;diff=928&amp;oldid=prev</id>
		<title>Mighty: new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TActivePlayer.OnFlagScore&amp;diff=928&amp;oldid=prev"/>
				<updated>2013-07-30T10:17:25Z</updated>
		
		<summary type="html">&lt;p&gt;new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; '''''property OnFlagScore'''''&lt;br /&gt;
  Access mode: RW&lt;br /&gt;
  Event handler type: [[TOnFlagScoreEvent]]&lt;br /&gt;
  Event handler declaration: procedure (Player: TActivePlayer; Flag: TActiveFlag; Team: Byte);&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
Event property called when a player scores a flag.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Example code kills a flagger after he scores.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
procedure OnFlagScoreKill(Player: TActivePlayer; Flag: TActiveFlag; Team: Byte);&lt;br /&gt;
begin&lt;br /&gt;
  Player.Alive := FALSE;&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
var &lt;br /&gt;
  i: Byte;&lt;br /&gt;
begin&lt;br /&gt;
  for i:=1 to 32 do&lt;br /&gt;
    Players[i].OnFlagScore := @OnFlagScoreKill;&lt;br /&gt;
end.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TActivePlayer]][[Category:Events]]&lt;/div&gt;</summary>
		<author><name>Mighty</name></author>	</entry>

	</feed>