zp_user_infected_post
No description available for this symbol.
Syntax
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) /** * 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. */ forward zp_user_infect_attempt(id, infector, nemesis) forward zp_user_humanize_attempt(id, survivor) /** * 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. * * @param id Player index of purchaser. * @param itemid Internal extra item ID. */
Usage
| id | — |
| infector | — |
| nemesis | — |
Defined in
zombieplague.inc
at line 422
.
This documentation was automatically generated from source.