Registers a new game mode.
Sets a default game mode (to start if no other game mode can been started).
Returns default game mode.
Returns game mode that was chosen for the current round.
Returns game mode that is currently in progress.
Returns a game mode's ID.
Returns a game mode's name.
Forces a game mode to start.
Returns number of registered game modes.
Sets whether zombies can infect humans for the current game mode.
Returns whether zombies are allowed to infect humans for the current game mode.
Called when ZP tries to choose a game mode for the current round. Returning PLUGIN_HANDLED here will tell the game modes manager that your mode can't be chosen (useful to set custom conditions, like a min amount of players, etc.)
Called when a game mode is chosen for the current round.
Called when a game mode starts.
Called when a game mode ends. Note: this can pass ZP_NO_GAME_MODE (if no game mode was in progress).