AMXX-BG.INFO zp50_gamemodes.inc

zp50_gamemodes

Browse all symbols documented inside this include file.

Functions

Name Description
zp_gamemodes_register Registers a new game mode.
zp_gamemodes_set_default Sets a default game mode (to start if no other game mode can been started).
zp_gamemodes_get_default Returns default game mode.
zp_gamemodes_get_chosen Returns game mode that was chosen for the current round.
zp_gamemodes_get_current Returns game mode that is currently in progress.
zp_gamemodes_get_id Returns a game mode's ID.
zp_gamemodes_get_name Returns a game mode's name.
zp_gamemodes_start Forces a game mode to start.
zp_gamemodes_get_count Returns number of registered game modes.
zp_gamemodes_set_allow_infect Sets whether zombies can infect humans for the current game mode.
zp_gamemodes_get_allow_infect Returns whether zombies are allowed to infect humans for the current game mode.