zp_round_started
Called when the ZP round starts, i.e. first zombie is chosen or a game mode begins.
Syntax
forward zp_round_started(gamemode, id) /** * Called before the ZP round starts. This is only * called for custom game modes. * * Note: The custom game mode id can be used to start * the game mode externally * * Note: returning ZP_PLUGIN_HANDLED will cause the * game mode to be blocked and other game modes will * be given a chance. * * @param gameid Custom mode id which is called */ forward zp_round_started_pre(gameid) /** * Called when the round ends. * * @param winteam Team which has won the round. */ forward zp_round_ended(winteam) /** * Called when a player gets infected. * * @param id Player index who was infected. * @param infector Player index who infected him (if applicable). * @param nemesis Whether the player was turned into a nemesis.
Usage
| gamemode | Mode which has started. |
| id | Affected player's index (if applicable). |
Defined in
zombie_plague_special.inc
at line 780
.
This documentation was automatically generated from source.