<?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.OnVoteKickStart</id>
		<title>TActivePlayer.OnVoteKickStart - 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.OnVoteKickStart"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TActivePlayer.OnVoteKickStart&amp;action=history"/>
		<updated>2026-05-26T05:31:04Z</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.OnVoteKickStart&amp;diff=897&amp;oldid=prev</id>
		<title>Mighty: new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TActivePlayer.OnVoteKickStart&amp;diff=897&amp;oldid=prev"/>
				<updated>2013-07-30T06:17:39Z</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 OnVoteKickStart'''''&lt;br /&gt;
  Access mode: RW&lt;br /&gt;
  Event handler type: [[TOnVoteKickStartEvent]]&lt;br /&gt;
  Event handler declaration: function(Player, Victim: TActivePlayer; Reason: string): Boolean;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
Event property called when a player starts a kick vote.&amp;lt;br&amp;gt;&lt;br /&gt;
If the result is set to TRUE, vote will not be started. It's up to the script to inform player why the vote didn't work then.&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Example ignores the vote attempt if vote reason is shorter than 4 characters.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
function DisableVoteWithNoReason(Player, Victim: TActivePlayer; Reason: string): Boolean;&lt;br /&gt;
begin&lt;br /&gt;
  Result := (Length(Reason) &amp;lt; 4);&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].OnVoteKickStart := @DisableVoteWithNoReason;&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>