KickFromGame

From Zandronum Wiki
Revision as of 17:20, 21 August 2016 by DrinkyBird (talk | contribs)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

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.