zp_fw_gamemodes_choose_post
Called when a game mode is chosen for the current round.
Syntax
forward zp_fw_gamemodes_choose_post(game_mode_id, target_player) /** * Called when a game mode starts. * * @param game_mode_id Internal ID for the game mode that was started. */ forward zp_fw_gamemodes_start(game_mode_id) /** * Called when a game mode ends. * * Note: this can pass ZP_NO_GAME_MODE (if no game mode was in progress). * * @param game_mode_id Internal ID for the game mode that ended. */ forward zp_fw_gamemodes_end(game_mode_id)
Usage
| game_mode_id | Internal ID for the game mode that was chosen. |
| target_player | Player ID passed to game mode (can be RANDOM_TARGET_PLAYER). |
Defined in
zp50_gamemodes.inc
at line 121
.
This documentation was automatically generated from source.