KickFromGame: Difference between revisions

From Zandronum Wiki
(Created page with "int '''KickFromGame''' (int ''player'', str ''reason'') *''player'': player to be kicked to spectators *''reason'': reason given Forces the given player to spectate with the...")
 
No edit summary
Line 1: Line 1:
{{ACSWarning}
int '''KickFromGame''' (int ''player'', str ''reason'')
int '''KickFromGame''' (int ''player'', str ''reason'')


Line 5: Line 6:


Forces the given player to spectate with the given reason. Returns 1 on success, 0 on failure.
Forces the given player to spectate with the given reason. Returns 1 on success, 0 on failure.
[[Category: ACS Functions]]

Revision as of 16:20, 21 August 2016

{{ACSWarning} int KickFromGame (int player, str reason)

  • player: player to be kicked to spectators
  • reason: reason given

Forces the given player to spectate with the given reason. Returns 1 on success, 0 on failure.