Difference between revisions of "TGame.StartVoteKick"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''procedure StartVoteKick(ID: Byte; Reason: string)''''' ID: ID of a voted player Reason: votekick reason ==Description== Starts a vote to kick a player<br> ==Example...")
 
m (fixed example)
Line 7: Line 7:
 
==Example==
 
==Example==
 
<syntaxhighlight lang="pascal">
 
<syntaxhighlight lang="pascal">
StartVoteKick(1,'Spamming');
+
Game.StartVoteKick(1,'Spamming');
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
[[Category:TGame]]
 
[[Category:TGame]]

Revision as of 12:26, 23 July 2013

procedure StartVoteKick(ID: Byte; Reason: string)
 ID: ID of a voted player
 Reason: votekick reason

Description

Starts a vote to kick a player

Example

Game.StartVoteKick(1,'Spamming');