TGame.StartVoteKick

From Soldat Community Wiki
Revision as of 13:36, 24 November 2014 by ExHunter (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
procedure StartVoteKick(ID: Byte; Reason: string)
 ID: ID of a voted player
 Reason: votekick reason

Description

Starts a vote against target player ID. 'Reason' will be displayed as the vote's reason.
Note that this will NOT trigger TActivePlayer.OnVoteKickStart!

Example

Game.StartVoteKick(1,'Spamming');