forward
zp_fw_gamemodes_choose_pre
Syntax
forward zp_fw_gamemodes_choose_pre(game_mode_id, skipchecks)
Description
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.)
Parameters
| game_mode_id | Internal game mode ID. |
|---|---|
| skipchecks | True when mode is being started by an admin. |