Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

VIP nie działa. bb_classes65. BaseBuilder !


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
2 odpowiedzi w tym temacie

#1 SHIFT 97

    Pomocny

  • Użytkownik

Reputacja: -5
Nowy

  • Postów:42
  • Imię:paweł
  • Lokalizacja:opolskie
Offline

Napisano 07.03.2013 23:48

Witam. Mam problem poniewaz w menu wyboru postaci premium zombie jest dostepny dla wszystkich. Nie mam pojęcia jak to zmienic. Proszę o POMOC. vip moze byc dostępny na jakiejkolwiek fladze.



/*================================================================================
 
    -----------------------------------
    -*- [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]
=================================================================================*/
// Classic Zombie Attributes
new const zclass1_name[] = { "Classic Zombie" }
new const zclass1_info[] = { "Hp + | Speed +" }
new const zclass1_model[] = { "zombie" }
new const zclass1_clawmodel[] = { "v_bloodyhands" }
const zclass1_health = 3000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
// Szybki Zombie Attributes
new const zclass2_name[] = { "Szybki Zombie" }
new const zclass2_info[] = { "Hp - | Speed ++" }
new const zclass2_model[] = { "gonome" }
new const zclass2_clawmodel[] = { "v_zombie_hands" }
const zclass2_health = 1500
const zclass2_speed = 400
const Float:zclass2_gravity = 1.0
// Skoczny Zombie Attributes
new const zclass3_name[] = { "Skoczny Zombie" }
new const zclass3_info[] = { "Hp - | Speed + | Grawitacja +" }
new const zclass3_model[] = { "zombie_swarm" }
new const zclass3_clawmodel[] = { "hands of zombies1" }
const zclass3_health = 2000
const zclass3_speed = 300
const Float:zclass3_gravity = 0.5
// Pancerny Zombie Attributes
new const zclass4_name[] = { "Pancerny Zombie" }
new const zclass4_info[] = { "Hp ++ | Speed --" }
new const zclass4_model[] = { "traumazm" }
new const zclass4_clawmodel[] = { "v_knife3" }
const zclass4_health = 5000
const zclass4_speed = 230
const Float:zclass4_gravity = 1.0
#define TANK_ARMOR 200
// Krab Zombie Attributes
new const zclass5_name[] = { "Krab Zombie" }
new const zclass5_info[] = { "Hp -- | Speed + | Grawitacja +" }
new const zclass5_model[] = { "headcrabme_t" }
new const zclass5_clawmodel[] = { "headcrab_t_knife" }
const zclass5_health = 800
const zclass5_speed = 325
const Float:zclass5_gravity = 0.6
// Premium Zombie Attributes
new const zclass6_name[] = { "Premium Zombie" }
new const zclass6_info[] = { "Hp ++ | Speed ++ | Grawitacja + | Pila mechaniczna" }
new const zclass6_model[] = { "zombie_source_new" }
new const zclass6_clawmodel[] = { "v_knife2" }
const zclass6_health = 4500
const zclass6_speed = 300
const Float:zclass6_gravity = 0.7
const zclass6_adminflags = ADMIN_LEVEL_H
/*============================================================================*/
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)
    bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity)
    bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity)
    g_zclass_tanker = bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity)
					    bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity)
					    bb_register_zombie_class(zclass6_name, zclass6_info, zclass6_model, zclass6_clawmodel, zclass6_health, zclass6_speed, zclass6_gravity, 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

  • +
  • -
  • 0

#2 Andrzejek

    Ucze się :]

  • Power User

Reputacja: 136
Zaawansowany

  • Postów:1 300
  • Imię:Andrzej
Offline

Napisano 08.03.2013 15:17

A może, jest tak że ADMIN_LEVEL_H to jest flaga t
Sprawdz czy nie masz dodanego tego przy swoim adminie i sprawdź
  • +
  • -
  • 0

Mam do sprzedania pluginy AMXX pod serwery typu, JB, ONLY DD2, ZOMBIE, COD MOD, DR i inne...

 

Jeżeli jesteś zainteresowany(a), napisz na PW lub GG 42384104


#3 SHIFT 97

    Pomocny

  • Autor tematu
  • Użytkownik

Reputacja: -5
Nowy

  • Postów:42
  • Imię:paweł
  • Lokalizacja:opolskie
Offline

Napisano 08.03.2013 22:42

niestety nie. czekam na dalsze propozycje.
  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych