zombieplaguenew1.3
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_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_humanized_pre | — |
| 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_user_humanize_attempt | — |
| 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_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. |