Alttaki gibi bir menu yapma şansımız varmıdır
1 Normal Zombie
2 Alien Zombie
3 Azrail Zombie
4 İnfected Zombie
5 Hemşire Zombie
6 Resident Zombie
Base Builder Classmenu Class Menu'ye Ekleme Yapmak
Moderatör: Moderatörler
-
Konu Sahibi - Mesajlar: 212
- Kayıt: Sal Haz 13, 2017 12:40 am
-
- Mesajlar: 3971
- Kayıt: Prş Oca 05, 2017 12:38 pm
- Konum: Ordu
- Server Ip/DNS: 213.238.173.78
- Clan İsmi: CapitaLL |
- İletişim:
Base Builder Classmenu Class Menu'ye Ekleme Yapmak
Modellerı googleden kendınız bulursunuz ?Arge yazdı:Alttaki gibi bir menu yapma şansımız varmıdır
1 Normal Zombie
2 Alien Zombie
3 Azrail Zombie
4 İnfected Zombie
5 Hemşire Zombie
6 Resident Zombie
Kod: Tümünü seç
/*================================================================================
-----------------------------------
-*- [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 <hamsandwich>
#include <fun>
#include <cstrike>
/*================================================================================
[Plugin Customization]
=================================================================================*/
// Klasik Zombie Attributes
new const zclass1_name[] = { "\rKlasik \yZombi" }
new const zclass1_info[] = { "=Standart=" }
new const zclass1_model[] = { "bb_classic22" }
new const zclass1_clawmodel[] = { "v_classic22" }
const zclass1_health = 4000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_ALL
// Alien Zombie Attributes
new const zclass2_name[] = { "\rAlien \yZombi" }
new const zclass2_info[] = { "\yHP\r- \yHIZ\r+++ \yZiplama\r+" }
new const zclass2_model[] = { "bb_fast1" }
new const zclass2_clawmodel[] = { "v_bloodyhands" }
const zclass2_health = 2500
const zclass2_speed = 325
const Float:zclass2_gravity = 1.0
const zclass2_adminflags = ADMIN_ALL
// Azrail Zombie Attributes
new const zclass3_name[] = { "\rAzrail \yZombi" }
new const zclass3_info[] = { "\yHP\r+ \yHIZ\r+ \yZiplama\r+++" }
new const zclass3_model[] = { "bb_jumper1" }
new const zclass3_clawmodel[] = { "v_bloodyhands" }
const zclass3_health = 3000
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL
// Infected Zombie Attributes
new const zclass4_name[] = { "\rInfected \yZombi" }
new const zclass4_info[] = { "\yHP\r+++ \yHIZ\r- \yZiplama\r+" }
new const zclass4_model[] = { "bb_tanker22" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
const zclass4_health = 5500
const zclass4_speed = 205
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_ALL
// Hemsire Zombie Attributes
new const zclass5_name[] = { "\rHemsire \yZombi" }
new const zclass5_info[] = { "\yHP\r-- \yHIZ\r++ \yZiplama\r++" }
new const zclass5_model[] = { "bb_joker22" }
new const zclass5_clawmodel[] = { "v_joker22" }
const zclass5_health = 2000
const zclass5_speed = 300
const Float:zclass5_gravity = 0.5
const zclass5_adminflags = ADMIN_ALL
// Resident Zombie Attributes
new const zclass6_name[] = { "\rResident \yZombi" }
new const zclass6_info[] = { "\yHP\r+ \yHIZ\r+ \yZiplama\r+" }
new const zclass6_model[] = { "bb_ajan1_22" }
new const zclass6_clawmodel[] = { "v_knife" }
const zclass6_health = 3500
const zclass6_speed = 290
const Float:zclass6_gravity = 1.0
const zclass6_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_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)
}
#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
Link: | |
Linklerini gizle |
-
Konu Sahibi - Mesajlar: 212
- Kayıt: Sal Haz 13, 2017 12:40 am
-
- Mesajlar: 22
- Kayıt: Pzt May 22, 2017 10:34 am
Base Builder Classmenu Class Menu'ye Ekleme Yapmak
[quote="TunnS[C]"][quote="Arge"]
HOCAM peki bunu nereye yazıvcaz yardımcı olurmusunuz
HOCAM peki bunu nereye yazıvcaz yardımcı olurmusunuz
Link: | |
Linklerini gizle |