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
BaseBuilder

[ROZWIĄZANE] problem z Vipem

basebuilder

  • Zamknięty Temat jest zamknięty
5 odpowiedzi w tym temacie

#1 Madzi@

    Banned

  • Zbanowany

Reputacja: 0
Nowy

  • Postów:4
  • Imię:madzia
  • Lokalizacja:Polska
Offline

Napisano 12.11.2012 19:21

witajcie mam problem z klasa Vip jest pod admin Flag G. Nie wiem czemu ale karzdy gracz bez flag moze jej uzywac
proszę o pomoc moze zna ktos powod dlaczego tak jest? klasa vip to lady

proszę o pomoc moze mi ktos to zrobic? dam dam + za pomoc :*



/*================================================================================

-----------------------------------
-*- [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[] = { "Klasyczny" }
new const zclass1_info[] = { "=Balanced=" }
new const zclass1_model[] = { "zombieKlasyczny" }
new const zclass1_clawmodel[] = { "v_knife_zombieKlasyczny" }
const zclass1_health = 4000
const zclass1_speed = 260
const Float:zclass1_gravity = 0.8
const zclass1_adminflags = ADMIN_ALL
// Fast Zombie Attributes
new const zclass2_name[] = { "SzybcioR" }
new const zclass2_info[] = { "HP- Speed++" }
new const zclass2_model[] = { "zombieSzybcioR" }
new const zclass2_clawmodel[] = { "v_knife_zombieSzybcioR" }
const zclass2_health = 3000
const zclass2_speed = 325
const Float:zclass2_gravity = 0.9
const zclass2_adminflags = ADMIN_ALL
// Jumper Zombie Attributes
new const zclass3_name[] = { "Skoczek" }
new const zclass3_info[] = { "HP- Jump+" }
new const zclass3_model[] = { "zombieSkoczek" }
new const zclass3_clawmodel[] = { "v_knife_zombieSkoczek" }
const zclass3_health = 3000
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL
// Tanker Zombie Attributes
new const zclass4_name[] = { "Gruby" }
new const zclass4_info[] = { "HP++ Speed-" }
new const zclass4_model[] = { "zombieGruby" }
new const zclass4_clawmodel[] = { "v_knife_zombieGruby" }
const zclass4_health = 4500
const zclass4_speed = 210
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_ALL
#define TANK_ARMOR 200
// Vip Zombie Attributes
new const zclass6_name[] = { "Lady (V.i.P.)" }
new const zclass6_info[] = { "Hp++ Speed+ Jump+"}
new const zclass6_model[] = { "zombieLady" }
new const zclass6_clawmodel[] = { "v_knife_zombieLady" }
const zclass6_health = 5000
const zclass6_speed = 300
const Float:zclass6_gravity = 0.7
const zclass6_adminflags = ADMIN_LEVEL_G
/*============================================================================*/
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(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

Załączone pliki



#2 sNH.

    Czy MisieQ ukradł ciasteczko?

  • Power User

Reputacja: 299
Wszechwidzący

  • Postów:1 070
  • Steam:steam
  • Imię:Bartek
  • Lokalizacja:Ełk
Offline

Napisano 12.11.2012 20:12

Nie wiem czy zadziała, ale sprawdź


/*================================================================================

-----------------------------------
-*- [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[] = { "Klasyczny" }
new const zclass1_info[] = { "=Balanced=" }
new const zclass1_model[] = { "zombieKlasyczny" }
new const zclass1_clawmodel[] = { "v_knife_zombieKlasyczny" }
const zclass1_health = 4000
const zclass1_speed = 260
const Float:zclass1_gravity = 0.8
const zclass1_adminflags = ADMIN_USER
// Fast Zombie Attributes
new const zclass2_name[] = { "SzybcioR" }
new const zclass2_info[] = { "HP- Speed++" }
new const zclass2_model[] = { "zombieSzybcioR" }
new const zclass2_clawmodel[] = { "v_knife_zombieSzybcioR" }
const zclass2_health = 3000
const zclass2_speed = 325
const Float:zclass2_gravity = 0.9
const zclass2_adminflags = ADMIN_USER
// Jumper Zombie Attributes
new const zclass3_name[] = { "Skoczek" }
new const zclass3_info[] = { "HP- Jump+" }
new const zclass3_model[] = { "zombieSkoczek" }
new const zclass3_clawmodel[] = { "v_knife_zombieSkoczek" }
const zclass3_health = 3000
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_USER
// Tanker Zombie Attributes
new const zclass4_name[] = { "Gruby" }
new const zclass4_info[] = { "HP++ Speed-" }
new const zclass4_model[] = { "zombieGruby" }
new const zclass4_clawmodel[] = { "v_knife_zombieGruby" }
const zclass4_health = 4500
const zclass4_speed = 210
const Float:zclass4_gravity = 1.0
const zclass4_adminflags = ADMIN_USER
#define TANK_ARMOR 200
// Vip Zombie Attributes
new const zclass6_name[] = { "Lady (V.i.P.)" }
new const zclass6_info[] = { "Hp++ Speed+ Jump+"}
new const zclass6_model[] = { "zombieLady" }
new const zclass6_clawmodel[] = { "v_knife_zombieLady" }
const zclass6_health = 5000
const zclass6_speed = 300
const Float:zclass6_gravity = 0.7
const zclass6_adminflags = ADMIN_LEVEL_G
/*============================================================================*/
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(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

  • +
  • -
  • 1

#3 Madzi@

    Banned

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:4
  • Imię:madzia
  • Lokalizacja:Polska
Offline

Napisano 12.11.2012 20:16

teraz tylko vipa moge wybrac a u pozastalych klas pisze only ADMIN...

#4 DEADP00L

    Profesjonalista

  • Użytkownik

Reputacja: 212
Profesjonalista

  • Postów:169
  • Steam:steam
  • Imię:Bart
  • Lokalizacja:United Kingdom
Offline

Napisano 13.11.2012 00:08

@Madzi@ sprawdź teraz.

Załączone pliki


  • +
  • -
  • 1

#5 Madzi@

    Banned

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:4
  • Imię:madzia
  • Lokalizacja:Polska
Offline

Napisano 13.11.2012 17:10

dziala Dziekuje :* dla cb

leci karma +

temat do close

dziekuje za pomoc

Użytkownik Madzi@ edytował ten post 13.11.2012 17:12


#6 Kawon

    Godlike

  • Przyjaciel

Reputacja: 887
Czempion

  • Postów:5 165
  • Steam:steam
  • Imię:Paweł
  • Lokalizacja:Dzierzgoń
Offline

Napisano 13.11.2012 17:13

Wiadomość wygenerowana automatycznie


Ten temat został zamknięty przez moderatora.

Powód: Pomoc udzielona

Jeśli się z tym nie zgadzasz, Dołączona grafika raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.


Z pozdrowieniami,
Zespół AMXX.PL
  • +
  • -
  • 0

DarkGL to mój autorytet.






Również z jednym lub większą ilością słów kluczowych: basebuilder

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

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