Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yeni BB Class Menu
#6
PHP Code:
/*================================================================================
    
    -----------------------------------
    -*- [BB] Default Zombie Classes -*-
    -----------------------------------
    
    ~~~~~~~~~~~~~~~
    - Description -
    ~~~~~~~~~~~~~~~
    
    This plugin adds the default zombie classes from Zombie Plague
    into Base Builder. All credit belongs to MeRcyLeZZ.
    
    All classes have been balanced, but feel free to edit them if
    you are not satisfied.
    
================================================================================*/

#include <amxmodx>
#include <basebuilder>
#include <fakemeta>
#include <hamsandwich>
#include <fun>
#include <cstrike>

/*================================================================================
 [Plugin Customization]
=================================================================================*/

// Classic Zombie Attributes
new const zclass1_name[] = { "Normal Zombi" }
new const 
zclass1_info[] = { "Standart Zombi Ozellikleri" }
new const 
zclass1_model[] = { "bb_classic" }
new const 
zclass1_clawmodel[] = { "v_bloodyhands" }
const 
zclass1_health 27500
const zclass1_speed 260
const Float:zclass1_gravity 1.0
const zclass1_adminflags ADMIN_ALL

// Fast Zombie Attributes
new const zclass2_name[] = { "Hizli Zombie" }
new const 
zclass2_info[] = { "HP'si Normal Hizi Yuksek" }
new const 
zclass2_model[] = { "bb_fast" }
new const 
zclass2_clawmodel[] = { "v_bloodyhands" }
const 
zclass2_health 2000
const zclass2_speed 325
const Float:zclass2_gravity 0.5
const zclass2_adminflags ADMIN_ALL

// Jumper Zombie Attributes
new const zclass3_name[] = { "Uzun Ziplayan Zombie" }
new const 
zclass3_info[] = { "HP'si Normal Ziplamasi Fazla" }
new const 
zclass3_model[] = { "bb_jumper" }
new const 
zclass3_clawmodel[] = { "v_bloodyhands" }
const 
zclass3_health 2400
const zclass3_speed 285
const Float:zclass3_gravity 0.5
const zclass3_adminflags ADMIN_ALL

// Tanker Zombie Attributes
new const zclass4_name[] = { "Guclu Zombie" }
new const 
zclass4_info[] = { "HP'si Fazla Hizi Normal" }
new const 
zclass4_model[] = { "bb_tanker" }
new const 
zclass4_clawmodel[] = { "v_bloodyhands" }
const 
zclass4_health 4000
const zclass4_speed 210
const Float:zclass4_gravity 0.5
const zclass4_adminflags ADMIN_ALL

// Kamuflaj Zombi
new const zclass5_name[] = { "Kamuflaj Zombi" }
new const 
zclass5_info[] = { "Kamufle Olur" }
new const 
zclass5_model[] = { "gign""gsg9""sas""urban" }
new const 
zclass5_clawmodel[] = { "v_bloodyhands" }
const 
zclass5_health 2500
const zclass5_speed 210
const Float:zclass5_gravity 0.5
const zclass5_adminflags ADMIN_ALL
#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_namezclass1_infozclass1_modelzclass1_clawmodelzclass1_healthzclass1_speedzclass1_gravity0.0zclass1_adminflags)
    
bb_register_zombie_class(zclass2_namezclass2_infozclass2_modelzclass2_clawmodelzclass2_healthzclass2_speedzclass2_gravity0.0zclass2_adminflags)
    
bb_register_zombie_class(zclass3_namezclass3_infozclass3_modelzclass3_clawmodelzclass3_healthzclass3_speedzclass3_gravity0.0zclass3_adminflags)
    
bb_register_zombie_class(zclass5_namezclass5_infozclass5_modelzclass5_clawmodelzclass5_healthzclass5_speedzclass5_gravity0.0zclass5_adminflags)
    
g_zclass_tanker bb_register_zombie_class(zclass4_namezclass4_infozclass4_modelzclass4_clawmodelzclass4_healthzclass4_speedzclass4_gravity0.0zclass4_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(idTANK_ARMORCS_ARMOR_VESTHELM);
    }
}
#endif 
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague

Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
Reply


Messages In This Thread
Yeni BB Class Menu - by hbaranuren - 26-05-14, 22:58
Cevap: Yeni BB Class Menu - by hbaranuren - 27-05-14, 19:26
Cevap: Yeni BB Class Menu - by hbaranuren - 29-05-14, 13:44
Cevap: Yeni BB Class Menu - by JDM - 29-05-14, 14:07
Cevap: Yeni BB Class Menu - by hbaranuren - 30-05-14, 15:47
Cevap: Yeni BB Class Menu - by yigit00 - 05-10-14, 14:56
Cevap: Yeni BB Class Menu - by frkn1764 - 30-11-14, 19:22
Cevap: Yeni BB Class Menu - by Neith - 14-01-15, 21:03
Cevap: Yeni BB Class Menu - by ready2die - 24-10-16, 18:11

Possibly Related Threads…
Thread Author Replies Views Last Post
  Menu ve jbmenu istek hamhum 10 12,380 05-01-17, 01:30
Last Post: marvel1905
  [JB] Yeni Shop Plugini Furkan Dize 61 16,953 03-08-16, 20:27
Last Post: murat1366
  [JB] Admin Menü Plugini Nobb 8 6,574 02-04-15, 22:14
Last Post: jackdalton06
  ct'ye özel bir menu wolf5094 25 7,140 21-02-15, 00:01
Last Post: eneskaraca55
  JailBreak Multi menü CryTek 19 7,239 20-02-15, 23:57
Last Post: eneskaraca55
  Özel Zm Menu MERTKIRAL 2 4,630 08-02-15, 13:24
Last Post: recepbeymk
  BioHazard UYUMLU Vip Menu KeNZ0 9 15,167 14-01-15, 01:15
Last Post: Neith
  Ts3 Menu hem bağlan hem indir kanun67 10 4,586 14-01-15, 01:15
Last Post: Neith
  basebuldier yeni zombi sini ekleme LEGOFGRAND 13 6,494 14-01-15, 01:09
Last Post: Neith
  VIP menü istek bloody123 10 4,698 18-09-14, 10:31
Last Post: saplaq08

Foruma Atla:


Users browsing this thread: 1 Guest(s)