zombie_plague_special
Browse all symbols documented inside this include file.
Forwards
| Name | Description |
|---|---|
| zp_round_started | Called when the ZP round starts, i.e. first zombie is chosen or a game mode begins. |
| zp_round_started_pre | 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. |
| zp_round_ended | Called when the round ends. |
| zp_user_infected_pre | Called when a player gets infected. |
| zp_user_infected_post | — |
| zp_user_humanized_pre | Called when a player turns back to human. |
| zp_user_humanized_post | — |
| zp_user_infect_attempt | 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. |
| zp_user_humanize_attempt | — |
| zp_game_mode_selected | Called when an admin selects a custom game mode from the ZP admin menu. Note: You should trigger the custom game mode here with out any checks |
| zp_player_spawn_post | Called when a player spawns. This is also called for CZ bots which are spawning Note: You should use this, instead of other spawn forwards, when you want to change some one's class after spawning. Note: If you have used this forward then you must return ZP_PLUGIN_HANDLED to inform the main plugin that you have used this forward |
| zp_extra_item_selected | Called when a player buys an extra item from the ZP menu. Note: You can now return ZP_PLUGIN_HANDLED in your plugin to block the purchase and the player will be automatically refunded. |
| zp_extra_item_selected_pre | — |
| zp_user_frozen_pre | — |
| zp_user_frozen_post | — |
| zp_user_burn_pre | — |
| zp_user_burn_post | — |
| zp_user_unfrozen | Called when a player gets unfrozen (frostnades). |
| zp_user_last_zombie | Called when a player becomes the last zombie. Note: This is called for the first zombie too. |
| zp_user_last_human | Called when a player becomes the last human. |
| zp_zombie_class_choosed_pre | — |
| zp_zombie_class_choosed_post | — |
| zp_user_rendering_reset_pre | — |
| zp_user_rendering_reset_post | — |
| zp_user_model_change_pre | — |
| zp_user_model_change_post | — |
| zp_human_special_choosed_pre | — |
| zp_zombie_special_choosed_pre | — |
| zp_human_special_choosed_post | — |
| zp_zombie_special_choosed_post | — |
| zp_game_mode_selected_pre | — |