#include < amxmodx >
#include < amxmisc >
#include < basebuilder >
#include < hamsandwich >
#include < cstrike >
#include < fun >
/*================================================================================
[Plugin Ozellikleri]
=================================================================================*/
// Classic Zombie Attributes
new const zclass1_name[] = { "\r-\y[ \rEjder \rZombi \y]\r- }" }
new const zclass1_info[] = { "Can + Hiz " }
new const zclass1_model[] = { "attack_draqula" }
new const zclass1_clawmodel[] = { "v_zombieknife" }
const zclass1_health = 10000
const zclass1_speed = 420
const Float:zclass1_gravity = 3.0
const zclass1_adminflags = ADMIN_ALL
// Fast Zombie Attributes
new const zclass2_name[] = { "\r-\y[ \rCilgin \rZombi \y]\r-" }
new const zclass2_info[] = { "Cilgin Ozellikler" }
new const zclass2_model[] = { "bb_cilgino" }
new const zclass2_clawmodel[] = { "v_cilgino" }
const zclass2_health = 8500
const zclass2_speed = 375
const Float:zclass2_gravity = 0.4
const zclass2_adminflags = ADMIN_ALL
// Jumper Zombie Attributes
new const zclass3_name[] = { "\r-\y[ \rMelek \rZombi \y]\r-" }
new const zclass3_info[] = { "Yuksek Ziplama" }
new const zclass3_model[] = { "bb_melek" }
new const zclass3_clawmodel[] = { "v_bloodyhands" }
const zclass3_health = 7000
const zclass3_speed = 285
const Float:zclass3_gravity = 0.3
const zclass3_adminflags = ADMIN_ALL
// Tanker Zombie Attributes
new const zclass4_name[] = { "\r-\y[ \rTank \rZombi \y]\r-" }
new const zclass4_info[] = { "Yuksek Can + Dusuk Hiz" }
new const zclass4_model[] = { "bb_vip_panzer" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
const zclass4_health = 12500
const zclass4_speed = 205
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_ALL
// Joker Zombie Attributes
new const zclass5_name[] = { "\r-\y[ \rJoker \rZombi \y]\r-" }
new const zclass5_info[] = { "Yuksek Ziplama + Hiz" }
new const zclass5_model[] = { "bb_joker22" }
new const zclass5_clawmodel[] = { "v_joker22" }
const zclass5_health = 7000
const zclass5_speed = 300
const Float:zclass5_gravity = 0.5
const zclass5_adminflags = ADMIN_ALL
// Ajan-1 Zombie Attributes
new const zclass6_name[] = { "\r-\y[ \rKamuflaj \rZombi \y]\r-" }
new const zclass6_info[] = { "Insan gibi Gozukur" }
new const zclass6_model[] = { "bb_ajan1_22" }
new const zclass6_clawmodel[] = { "v_knife" }
const zclass6_health = 6500
const zclass6_speed = 290
const Float:zclass6_gravity = 1.0
const zclass6_adminflags = ADMIN_ALL
// Spider Zombie Attributes
new const zclass12_name[] = { "\r-\y[ \rOmurcek \rZombi \y]\r-" }
new const zclass12_info[] = { "Yuksek Hiz + Can" }
new const zclass12_model[] = { "bb_orumcek" }
new const zclass12_clawmodel[] = { "v_knife_zombie" }
const zclass12_health = 11500
const zclass12_speed = 345
const Float:zclass12_gravity = 0.9
const zclass12_adminflags = ADMIN_ALL
// Hemsire Zombie Attributes
new const zclass7_name[] = { "\r-\y[ \rHemsire \rZombi \y]\r- }" }
new const zclass7_info[] = { "Yuksek Can" }
new const zclass7_model[] = { "bb_hemsire" }
new const zclass7_clawmodel[] = { "v_hemsire" }
const zclass7_health = 14500
const zclass7_speed = 290
const Float:zclass7_gravity = 1.0
const zclass7_adminflags = ADMIN_ALL
// Yokedici Zombie Attributes
new const zclass8_name[] = { "\r-\y[ \rAzrail \rZombi \y]\r-" }
new const zclass8_info[] = { "\w[\rSlot \rOzel\w]" }
new const zclass8_model[] = { "bb_yokedici22" }
new const zclass8_clawmodel[] = { "v_yokedici22" }
const zclass8_health = 11500
const zclass8_speed = 299
const Float:zclass8_gravity = 0.5
const zclass8_adminflags = ADMIN_RESERVATION
// Kurt Zombie Attributes
new const zclass9_name[] = { "\r-\y[ \rKurt \rZombi \y]\r-" }
new const zclass9_info[] = { "\w[\rAdmin \rOzel\w]"}
new const zclass9_model[] = { "bb_kurt22" }
new const zclass9_clawmodel[] = { "v_kurt22" }
const zclass9_health = 13500
const zclass9_speed = 450
const Float:zclass9_gravity = 0.5
const zclass9_adminflags = ADMIN_KICK
// Oberon Zombie Attributes
new const zclass10_name[] = { "\r-\y[ \rSheytan \rZombi \y]\r-" }
new const zclass10_info[] = { "\w[\rYonetici \rOzel\w]" }
new const zclass10_model[] = { "bb_vip_casus" }
new const zclass10_clawmodel[] = { "v_cilgino" }
const zclass10_health = 20000
const zclass10_speed = 700
const Float:zclass10_gravity = 0.2
const zclass10_adminflags = ADMIN_BAN
// Joker Zombie Attributes
new const zclass11_name[] = { "\r-\y[ \rKatil \rZombi \y]\r-" }
new const zclass11_info[] = { "\w[\rKurucu \rOzel\w]" }
new const zclass11_model[] = { "bb_psycho" }
new const zclass11_clawmodel[] = { "v_cokimo" }
const zclass11_health = 20000
const zclass11_speed = 700
const Float:zclass11_gravity = 0.2
const zclass11_adminflags = ADMIN_RCON
#define TANK_ARMOR 200
/*============================================================================*/
new g_zclass_tanker
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[BB] Default Zombie Classes", "6.5", "Tirant")
// Register all classes
bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_adminflags)
bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0, zclass5_adminflags)
bb_register_zombie_class(zclass6_name, zclass6_info, zclass6_model, zclass6_clawmodel, zclass6_health, zclass6_speed, zclass6_gravity, 0.0, zclass6_adminflags)
bb_register_zombie_class(zclass8_name, zclass8_info, zclass8_model, zclass8_clawmodel, zclass8_health, zclass8_speed, zclass8_gravity, 0.0, zclass8_adminflags)
bb_register_zombie_class(zclass7_name, zclass7_info, zclass7_model, zclass7_clawmodel, zclass7_health, zclass7_speed, zclass7_gravity, 0.0, zclass7_adminflags)
bb_register_zombie_class(zclass9_name, zclass9_info, zclass9_model, zclass9_clawmodel, zclass9_health, zclass9_speed, zclass9_gravity, 0.0, zclass9_adminflags)
bb_register_zombie_class(zclass10_name, zclass10_info, zclass10_model, zclass10_clawmodel, zclass10_health, zclass10_speed, zclass10_gravity, 0.0, zclass10_adminflags)
bb_register_zombie_class(zclass11_name, zclass11_info, zclass11_model, zclass11_clawmodel, zclass11_health, zclass11_speed, zclass11_gravity, 0.0, zclass11_adminflags)
bb_register_zombie_class(zclass12_name, zclass12_info, zclass12_model, zclass12_clawmodel, zclass12_health, zclass12_speed, zclass12_gravity, 0.0, zclass12_adminflags)
}
#if defined TANK_ARMOR
public plugin_init()
{
RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
}
public ham_PlayerSpawn_Post(id)
{
if (!is_user_alive(id))
return ;
if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
{
give_item(id, "item_assaultsuit");
cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
}
}
#endif