Functions
zombie_plague_next.inc
zombie plague next
| Function | Type | Description |
|---|---|---|
| zpn_item_selected_post | forward | Called after a client selects an extra item from the buy menu. |
| zpn_round_started_post | forward | Called after a round has started and the game mode was selected. |
| zpn_user_frozen_post | forward | Called after a client has been frozen. |
| zpn_user_frozen_pre | forward | Called before a client is frozen. |
| zpn_user_humanized_post | forward | Called after a client has been humanized and the human class was applied. |
| zpn_user_humanized_pre | forward | Called before a client is humanized and receives the human class. |
| zpn_user_infect_attempt | forward | Called before the infection pre-forward. |
| zpn_user_infected_post | forward | Called after a client has been infected and the zombie class was applied. |
| zpn_user_infected_pre | forward | Called before a client is infected and receives the zombie class. |
| zpn_class_array_size | native | Returns the number of registered classes. |
| zpn_class_find | native | Finds a class by its configured find name. |
| zpn_class_get_prop | native | Retrieves a class property. |
| zpn_class_init | native | Registers a new class. |
| zpn_class_random_class_id | native | Returns a random registered class index for the given class type. |
| zpn_class_set_prop | native | Sets a class property. |
| zpn_gamemode_array_size | native | Returns the number of registered game modes. |
| zpn_gamemode_find | native | Finds a game mode by its configured find name. |
| zpn_gamemode_get_prop | native | Retrieves a game mode property. |
| zpn_gamemode_init | native | Registers a new game mode. |
| zpn_gamemode_set_prop | native | Sets a game mode property. |
| zpn_get_current_gamemode | native | Returns the current game mode. |
| zpn_get_user_current_class | native | Returns the currently applied class for a client. |
| zpn_get_user_next_class | native | Returns the class queued by a client for the next class update. |
| zpn_get_user_selected_class | native | Returns the class selected by a client for the given class type. |
| zpn_is_round_started | native | Returns whether a ZPN round is currently active. |
| zpn_is_user_class | native | Returns whether a client currently has the given class applied. |
| zpn_is_user_freezed | native | Returns whether a client is currently frozen. |
| zpn_is_user_zombie | native | Returns whether a client is currently a zombie. |
| zpn_is_user_zombie_special | native | Returns whether a client is using a special zombie class. |
| zpn_item_array_size | native | Returns the number of registered extra items. |
| zpn_item_find | native | Finds an extra item by its configured find name. |
| zpn_item_get_prop | native | Retrieves an extra item property. |
| zpn_item_init | native | Registers a new extra item. |
| zpn_item_set_prop | native | Sets an extra item property. |
| zpn_player_data_get_prop | native | Retrieves a client data property. |
| zpn_player_data_set_prop | native | Sets a client data property. |
| zpn_print_color | native | Sends a prefixed colored chat message. |
| zpn_remove_user_frozen | native | Removes the frozen state from a client. |
| zpn_send_weapon_deploy | native | Sends the current weapon deploy animation to a client. |
| zpn_set_fw_param_int | native | Changes an integer parameter value for supported pre-forwards. |
| zpn_set_user_frozen | native | Freezes a client for a limited time. |
| zpn_set_user_zombie | native | Infects a client and applies the selected zombie class. |