KickFromGame: Difference between revisions

From Zandronum Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{ACSWarning}
{{ACSWarning}}
int '''KickFromGame''' (int ''player'', str ''reason'')
int '''KickFromGame''' (int ''player'', str ''reason'')



Revision as of 16:20, 21 August 2016

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.