Difference between revisions of "TOnVoteKickStartEvent"
(Created page with "==Description== Type used by TActivePlayer.OnVoteKick as an event handler type. ==Declaration== procedure (Player, Victim: TActivePlayer) Player: player currently...") |
|||
| Line 1: | Line 1: | ||
==Description== | ==Description== | ||
| − | Type used by [[TActivePlayer. | + | Type used by [[TActivePlayer.OnVoteKickStart]] as an event handler type. |
==Declaration== | ==Declaration== | ||
| − | + | function (Player, Victim: TScriptActivePlayer; 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 | ||
[[Category:Types]] | [[Category:Types]] | ||
Revision as of 09:47, 31 July 2013
Description
Type used by TActivePlayer.OnVoteKickStart as an event handler type.
Declaration
function (Player, Victim: TScriptActivePlayer; 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