Difference between revisions of "TGame.StartVoteKick"

From Soldat Community Wiki
Jump to: navigation, search
m (fixed example)
Line 3: Line 3:
 
   Reason: votekick reason
 
   Reason: votekick reason
 
==Description==
 
==Description==
Starts a vote to kick a player<br>
+
Starts a vote against target player ID. 'Reason' will be displayed as the vote's reason.<br>
  
 
==Example==
 
==Example==

Revision as of 02:11, 28 August 2013

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.

Example

Game.StartVoteKick(1,'Spamming');