zp_round_ended

Called when the round ends.

Syntax

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. */ forward zp_user_infected_pre(id, infector, nemesis) forward zp_user_infected_post(id, infector, nemesis) /** * Called when a player turns back to human. * * @param id Player index who was cured. * @param survivor Whether the player was turned into a survivor. */ forward zp_user_humanized_pre(id, survivor) forward zp_user_humanized_post(id, survivor) forward zp_user_humanized_pre(id, sniper) forward zp_user_humanized_post(id, sniper) /** * Called on a player infect/cure attempt. You can use this to block * an infection/humanization by returning ZP_PLUGIN_HANDLED in your plugin. * * Note: Right now this is only available after the ZP round starts, since some * situations (like blocking a first zombie's infection) are not yet handled. */

Usage

winteam Team which has won the round.
Defined in zombie_plague_advance.inc at line 581 . This documentation was automatically generated from source.