KickFromGame

From Zandronum Wiki
Jump to: navigation, search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

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.