Functions
zombie_plague_special.inc
zombie plague special 4.5
| Function | Type | Description |
|---|---|---|
| zp_extra_item_selected | forward | Called when a player buys an extra item from the ZP menu. |
| zp_extra_item_selected_pre | forward | Called while player are choosing item |
| zp_fw_deploy_weapon | forward | Called when user deploy an weapon |
| zp_fw_sound_play | forward | Called when plays any ambience sound |
| zp_fw_sound_stop | forward | Called when stop all sounds |
| zp_game_mode_selected | forward | Called when an admin selects a custom game mode from the ZP admin menu. |
| zp_game_mode_selected_pre | forward | Called when an admin selects a custom game mode from the ZP admin menu. |
| zp_human_class_choosed_post | forward | This function has no description. |
| zp_human_class_choosed_pre | forward | Called when open Human Classes menu |
| zp_human_special_choosed_post | forward | This function has no description. |
| zp_human_special_choosed_pre | forward | Called when admin make a player to special class from admin menu |
| zp_infected_by_bomb_post | forward | This function has no description. |
| zp_infected_by_bomb_pre | forward | Called when user get infected by bomb function |
| zp_player_show_hud | forward | Called when show main/spec hud |
| zp_player_spawn_post | forward | Called when a player spawns. This is also called for CZ bots which are spawning |
| zp_round_ended | forward | Called when the round ends. |
| zp_round_started | forward | Called when the ZP round starts, i.e. first zombie is chosen or a game mode begins. |
| zp_round_started_pre | forward | Called before the ZP round starts. This is only called for custom game modes. |
| zp_user_burn_post | forward | This function has no description. |
| zp_user_burn_pre | forward | Called when player gets burning |
| zp_user_frozen_post | forward | This function has no description. |
| zp_user_frozen_pre | forward | Called when player gets frozen |
| zp_user_humanize_attempt | forward | This function has no description. |
| zp_user_humanized_post | forward | This function has no description. |
| zp_user_humanized_pre | forward | Called when a player turns back to human. |
| zp_user_infect_attempt | forward | Called on a player infect/cure attempt. You can use this to block an infection/humanization by returning ZP_PLUGIN_HANDLED in your plugin. |
| zp_user_infected_post | forward | This function has no description. |
| zp_user_infected_pre | forward | Called when a player gets infected. |
| zp_user_last_human | forward | Called when a player becomes the last human. |
| zp_user_last_zombie | forward | Called when a player becomes the last zombie. |
| zp_user_model_change_post | forward | This function has no description. |
| zp_user_model_change_pre | forward | Execute when player change the model |
| zp_user_rendering_reset_post | forward | This function has no description. |
| zp_user_rendering_reset_pre | forward | Called when player reset render |
| zp_user_unfrozen | forward | Called when a player gets unfrozen (frostnades). |
| zp_user_unstuck_post | forward | This function has no description. |
| zp_user_unstuck_pre | forward | Called when user use Unstuck function (In menu) |
| zp_weapon_selected_post | forward | This function has no description. |
| zp_weapon_selected_pre | forward | Called when user choose weapon in weapons menu |
| zp_zombie_class_choosed_post | forward | This function has no description. |
| zp_zombie_class_choosed_pre | forward | Called when open Zombie Classes menu |
| zp_zombie_special_choosed_post | forward | This function has no description. |
| zp_zombie_special_choosed_pre | forward | Called when admin make a player to special class from admin menu |
| zp_add_hud_text | native | Add Text On main/spec hud |
| zp_disinfect_user | native | Forces a player to become a human. |
| zp_do_random_spawn | native | Teleport user to Spawn |
| zp_drop_weapons | native | Drop user weapon from X category |
| zp_extra_item_textadd | native | Add Text On Extra Item (Like ZP 5.0) |
| zp_force_buy_extra_item | native | Forces a player to buy an extra item. |
| zp_force_user_class | native | Force user Special Class without checks |
| zp_get_assassin_count | native | Returns number of alive assassins. |
| zp_get_berserker_count | native | Returns number of alive berserkers. |
| zp_get_bombardier_count | native | Returns number of alive bombardiers. |
| zp_get_current_mode | native | Returns the current game mode ID |
| zp_get_current_mode_name | native | Get Current mode name |
| zp_get_custom_extra_start | native | Get Custom Extra Item Start ID |
| zp_get_custom_special_count | native | Get total of instaled custom special classes |
| zp_get_default_knockback | native | Get user default knockback |
| zp_get_default_unlimited_ammo | native | Get user default clip mode |
| zp_get_dragon_count | native | Returns number of alive dragons. |
| zp_get_extra_item_cost | native | Get Extra Item Price |
| zp_get_extra_item_count | native | Get total of instaled extra itens |
| zp_get_extra_item_id | native | Returns an extra item's ID. |
| zp_get_extra_item_name | native | Get Extra Item Name |
| zp_get_extra_item_realname | native | Get Extra Item Real Name |
| zp_get_gamemode_id | native | Get Gamemode index |
| zp_get_gamemodes_count | native | Get total of instaled custom gamemodes |
| zp_get_hclass_count | native | Get total of instaled human classes |
| zp_get_human_class_id | native | Returns a human class' ID. |
| zp_get_human_class_info | native | Get Human Class Description |
| zp_get_human_class_name | native | Get Human Class name |
| zp_get_human_class_realname | native | Get Human Class realname |
| zp_get_human_count | native | Returns number of alive humans. |
| zp_get_human_special_class | native | Get User Current Human Special Class |
| zp_get_last_mode | native | Returns the last game mode ID |
| zp_get_nemesis_count | native | Returns number of alive nemesis. |
| zp_get_next_human_class | native | Returns a player's next human class ID (for the next spawn). |
| zp_get_predator_count | native | Returns number of alive predators. |
| zp_get_random_player | native | Get Random alive player Index |
| zp_get_sniper_count | native | Returns number of alive snipers. |
| zp_get_special_class_id | native | Get Special Class index |
| zp_get_special_class_name | native | Get user Special Class Real Name |
| zp_get_special_count | native | Get players an X special class |
| zp_get_spy_count | native | Returns number of alive spys. |
| zp_get_survivor_count | native | Returns number of alive survivors. |
| zp_get_user_ammo_packs | native | Returns a player's ammo pack count. |
| zp_get_user_assassin | native | Returns whether a player is an assassin. |
| zp_get_user_batteries | native | Returns a player's custom flashlight batteries charge. |
| zp_get_user_berserker | native | Returns whether a player is a sniper. |
| zp_get_user_bombardier | native | Returns whether a player is an bombardier. |
| zp_get_user_burn | native | Get User burning |
| zp_get_user_default_gravity | native | Get user current default gravity |
| zp_get_user_default_maxspeed | native | Get user default max speed |
| zp_get_user_dragon | native | Returns whether a player is an dragon. |
| zp_get_user_first_zombie | native | Returns whether a player is the first zombie. |
| zp_get_user_frozen | native | Get User Frozen |
| zp_get_user_hud_type | native | Returns a hud type index. |
| zp_get_user_human_class | native | Returns a player's current human class ID. |
| zp_get_user_infectnade | native | Get User Infect bomb |
| zp_get_user_knockback | native | Get user knockback value |
| zp_get_user_last_human | native | Returns whether a player is the last human. |
| zp_get_user_last_zombie | native | Returns whether a player is the last zombie. |
| zp_get_user_madness | native | Get User Zombie Madness |
| zp_get_user_maxhealth | native | Returns the default maximum health of a current class. |
| zp_get_user_maxspeed | native | Get user Maxspeed |
| zp_get_user_model | native | Get Player's Model |
| zp_get_user_nemesis | native | Returns whether a player is a nemesis. |
| zp_get_user_next_class | native | Returns a player's next zombie class ID (for the next infection). |
| zp_get_user_nightvision | native | Returns whether a player has night vision. |
| zp_get_user_predator | native | Returns whether a player is an predator. |
| zp_get_user_sniper | native | Returns whether a player is a sniper. |
| zp_get_user_spy | native | Returns whether a player is a spy |
| zp_get_user_survivor | native | Returns whether a player is a survivor. |
| zp_get_user_unlimited_ammo | native | User have an unlimited ammo mode. |
| zp_get_user_wesker | native | Returns whether a player is a sniper. |
| zp_get_user_zombie | native | Returns whether a player is a zombie. |
| zp_get_user_zombie_class | native | Returns a player's current zombie class ID. |
| zp_get_weapon_name | native | Get Weapon name |
| zp_get_weapon_realname | native | Get Weapon real name |
| zp_get_wesker_count | native | Returns number of alive weskers. |
| zp_get_zclass_count | native | Get total of instaled zombie classes |
| zp_get_zombie_class_id | native | Returns a zombie class' ID. |
| zp_get_zombie_class_info | native | Get Zombie Class Description |
| zp_get_zombie_class_name | native | Get Zombie Class Name |
| zp_get_zombie_class_realname | native | Get Zombie Class Real Name |
| zp_get_zombie_count | native | Returns number of alive zombies. |
| zp_get_zombie_maxhealth | native | Returns the default maximum health of a zombie. |
| zp_get_zombie_special_class | native | Get User Current Zombie Special Class |
| zp_give_item | native | Give item |
| zp_has_round_ended | native | Returns whether the ZP round has ended |
| zp_has_round_started | native | Returns whether the ZP round has started, i.e. first zombie has been chosen or a game mode has begun. |
| zp_infect_user | native | Forces a player to become a zombie. |
| zp_is_assassin_round | native | Returns whether the current round is a assassin round. |
| zp_is_berserker_round | native | Returns whether the current round is a berserker round. |
| zp_is_bombardier_round | native | Returns whether the current round is a bombardier round. |
| zp_is_dragon_round | native | Returns whether the current round is a dragon round. |
| zp_is_escape_map | native | Get Current map is a Zombie Escape's Map |
| zp_is_gamemode_enable | native | Gamemode are enable? |
| zp_is_lnj_round | native | Returns whether the current round is a Armageddon round. |
| zp_is_nemesis_round | native | Returns whether the current round is a nemesis round. |
| zp_is_plague_round | native | Returns whether the current round is a plague round. |
| zp_is_predator_round | native | Returns whether the current round is a predator round. |
| zp_is_sniper_round | native | Returns whether the current round is a sniper round. |
| zp_is_special_class_enable | native | Special class are enable? |
| zp_is_spy_round | native | Returns whether the current round is a spy round. |
| zp_is_survivor_round | native | Returns whether the current round is a survivor round. |
| zp_is_swarm_round | native | Returns whether the current round is a swarm round. |
| zp_is_user_stuck | native | Get user Stucks |
| zp_is_wesker_round | native | Returns whether the current round is a wesker round. |
| zp_make_user_assassin | native | Forces a player to become a assassin. |
| zp_make_user_berserker | native | Forces a player to become a berserker. |
| zp_make_user_bombardier | native | Forces a player to become a bombardier. |
| zp_make_user_dragon | native | Forces a player to become a dragon. |
| zp_make_user_nemesis | native | Forces a player to become a nemesis. |
| zp_make_user_predator | native | Forces a player to become a predator. |
| zp_make_user_sniper | native | Forces a player to become a sniper. |
| zp_make_user_special | native | Make player an X special class |
| zp_make_user_spy | native | Forces a player to become a spy. |
| zp_make_user_survivor | native | Forces a player to become a survivor. |
| zp_make_user_wesker | native | Forces a player to become a wesker. |
| zp_menu_textadd | native | Add Text On menu (Like ZP 5.0) |
| zp_override_user_model | native | This function has no description. |
| zp_register_extra_item | native | Registers a custom item which will be added to the extra items menu of ZP. |
| zp_register_game_mode | native | This function has no description. |
| zp_register_gamemode_ambience | native | Register Custom Gamemode ambience sound |
| zp_register_hclass_model | native | Register a Human class model. |
| zp_register_human_class | native | Registers a custom class which will be added to the human classes menu of ZP. |
| zp_register_human_special | native | Registers a custom human special class which will be added to the admin menu of ZP. |
| zp_register_start_gamemode_snd | native | Register Custom Gamemode round start sound |
| zp_register_weapon | native | Register Custom Weapon in Weapon Choose Menu |
| zp_register_zclass_deathsnd | native | Register Zombie Class custom death sound |
| zp_register_zclass_painsnd | native | Register Zombie Class custom pain sound |
| zp_register_zmspecial_deathsnd | native | Register Custom Special Zombie custom death sound |
| zp_register_zombie_class | native | Registers a custom class which will be added to the zombie classes menu of ZP. |
| zp_register_zombie_special | native | Registers a custom zombie special class which will be added to the admin menu of ZP. |
| zp_reload_csdm_respawn | native | Reload repawn files/entitys |
| zp_reset_lighting | native | Reset to default lighting |
| zp_reset_player_model | native | Reset user Model |
| zp_reset_user_knockback | native | Reset user knockback value |
| zp_reset_user_maxspeed | native | Reset user Maxspeed |
| zp_reset_user_rendering | native | Reset player Render |
| zp_reset_user_unlimited_ammo | native | Reset user clip mode |
| zp_respawn_user | native | Respawns a player into a specific team. |
| zp_set_custom_game_mod | native | Forces Start Custom Mod without checks |
| zp_set_extra_damage | native | This function has no description. |
| zp_set_extra_item_cost | native | Change Extra Item Price |
| zp_set_extra_item_name | native | Change Extra Item Name |
| zp_set_extra_item_team | native | Change Extra Item Team |
| zp_set_fw_param_int | native | Set Int Parameter on some forwards |
| zp_set_human_class_info | native | Set Human Class Description |
| zp_set_human_class_name | native | Set Human Class name |
| zp_set_lighting | native | Set Current map Lighting |
| zp_set_model_param | native | This function has no description. |
| zp_set_next_game_mode | native | Set Gamemode for start on next round |
| zp_set_param_string | native | Set string parameter. |
| zp_set_user_ammo_packs | native | Sets a player's ammo pack count. |
| zp_set_user_batteries | native | Sets a player's custom flashlight batteries charge. |
| zp_set_user_burn | native | Set Player Burning |
| zp_set_user_extra_damage | native | Like a zp_set_extra_damage native but with damage dealth in function |
| zp_set_user_frozen | native | Set Player Frozen |
| zp_set_user_gravity | native | Change user gravity |
| zp_set_user_human_class | native | Sets a player's next human class ID (for the next spawn). |
| zp_set_user_infectnade | native | Set User Infect bomb |
| zp_set_user_knockback | native | Sets a player's unlimited ammo. |
| zp_set_user_madness | native | Set Player Zombie Madness |
| zp_set_user_maxspeed | native | Set user Maxspeed |
| zp_set_user_nightvision | native | Sets whether a player has night vision. |
| zp_set_user_rendering | native | Sets rendering options of an user (Compatibility with handle models separate ent in older versions). |
| zp_set_user_unlimited_ammo | native | Sets a player's unlimited ammo. |
| zp_set_user_zombie_class | native | Sets a player's next zombie class ID (for the next infection). |
| zp_set_weapon_name | native | Change Weapon name |
| zp_set_zombie_class_info | native | Set Zombie Class Description |
| zp_set_zombie_class_name | native | Set Zombie Class name |
| zp_start_game_mod | native | Start a Game mode |
| zp_strip_user_weapons | native | Strip all user weapons |
| zp_weapon_count | native | Get Weapon Count (of type) |
| zp_weapon_is_custom | native | Weapon from Weapons menu are internal (from main plugin) or external plugin |
| zp_weapon_menu_textadd | native | Add menu text in weapon menu |
| zp_zombie_class_textadd | native | Add Text On Zombie Class menu (Like ZP 5.0) |
| zpsp_override_user_model | native | Set Player Model |
| zpsp_register_extra_item | native | Registers a custom item which will be added to the extra items menu of ZP. |
| zpsp_register_gamemode | native | Registers a custom game mode which will be added to the admin menu of ZP |