zp_get_extra_item_id
Returns an extra item's ID.
Syntax
native zp_get_extra_item_id(const name[]) /** * Returns a zombie class' ID. * * @param name Class name to look for. * @return Internal zombie class ID, or -1 if not found. */ native zp_get_zombie_class_id(const name[]) /** * Called when the ZP round starts, i.e. first zombie * is chosen or a game mode begins. * * @param gamemode Mode which has started. * @param id Affected player's index (if applicable). */ forward zp_round_started(gamemode, id) /** * Called when the round ends. * * @param winteam Team which has won the round. */ forward zp_round_ended(winteam) /** * Called when a player gets infected. * * @param id Player index who was infected.
Usage
| name | Item name to look for. |
Return
Internal — extra item ID, or -1 if not found.
Defined in
zombieplaguenew1.3.inc
at line 426
.
This documentation was automatically generated from source.