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.
Syntax
forward zp_extra_item_selected(id, itemid) /** * Called when a player gets unfrozen (frostnades). * * @param id Player index. */ forward zp_user_unfrozen(id) /** * Called when a player becomes the last zombie. * * Note: This is called for the first zombie too. * * @param id Player index. */ forward zp_user_last_zombie(id) /** * Called when a player becomes the last human. * * @param id Player index. */ forward zp_user_last_human(id) /** * @deprecated - Do not use! * For backwards compatibility only. */
Usage
| id | Player index of purchaser. |
| itemid | Internal extra item ID. |
Defined in
zombieplague.inc
at line 452
.
This documentation was automatically generated from source.