From Soldat Community Wiki
Jump to: navigation, search

From the Scripting Manual

procedure StartVoteKick(voter, target: byte; reason: string);

Parameter Info:
 voter (Byte): Player ID of the player who will appear as the Vote Starter. 255 for Server.
 target (Byte): Player ID of the player who will be vote kicked.
 reason (String): Reason to be displayed on the vote kick.

 This function will start a vote kick against (target) for (reason) and will appear as started by   (voter). Use (voter) as 255 to display as SERVER.


StartVoteKick(255,1,'Possible cheating'); //Start a vote kick against player 1 from Server for 'Possible Cheating'

External Links