TOnVoteKickStartEvent

From Soldat Community Wiki
Revision as of 11:47, 31 July 2013 by Mighty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Type used by TActivePlayer.OnVoteKickStart as an event handler type.

Declaration

function (Player, Victim: TActivePlayer; Reason: string): Boolean;
 Player: player starting a vote
 Victim: player that is being voted
 Reason: reasoning behind the voting
 Result: if TRUE, the vote won't be started