sma:
Załączone pliki
Użytkownik jawol1234 edytował ten post 02.08.2012 11:47
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.
|
Napisano 02.08.2012 11:46
Użytkownik jawol1234 edytował ten post 02.08.2012 11:47
Napisano 02.08.2012 12:06
/*================================================================================
-----------------------------------
-*- [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[] = { "CeEsKnajf" }
new const zclass1_model[] = { "bb_classic" }
new const zclass1_clawmodel[] = { "v_bloodyhands" }
const zclass1_health = 5000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
// Fast Zombie Attributes
new const zclass2_name[] = { "Fast Zombie" }
new const zclass2_info[] = { "CeEsKnajf" }
new const zclass2_model[] = { "bb_fast" }
new const zclass2_clawmodel[] = { "v_bloodyhands" }
const zclass2_health = 2500
const zclass2_speed = 380
const Float:zclass2_gravity = 1.0
// Jumper Zombie Attributes
new const zclass3_name[] = { "Jumper Zombie" }
new const zclass3_info[] = { "CeEsKnajf" }
new const zclass3_model[] = { "bb_jumper" }
new const zclass3_clawmodel[] = { "v_bloodyhands" }
const zclass3_health = 3000
const zclass3_speed = 285
const Float:zclass3_gravity = 0.6
// Tanker Zombie Attributes
new const zclass4_name[] = { "Tanker Zombie" }
new const zclass4_info[] = { "CeEsKnajf" }
new const zclass4_model[] = { "bb_tanker" }
new const zclass4_clawmodel[] = { "v_bloodyhands" }
const zclass4_health = 8000
const zclass4_speed = 200
const Float:zclass4_gravity = 1.1
#define TANK_ARMOR 200
// Nemesis Zombie Attributes
new const zclass5_name[] = { "Nemesis Zombie" }
new const zclass5_info[] = { "CeEsKnajf" }
new const zclass5_model[] = { "bb_nemesis" }
new const zclass5_clawmodel[] = { "v_bloodyhands" }
const zclass5_health = 12000
const zclass5_speed = 380
const Float:zclass5_gravity = 0.6
const zclass5_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)
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, zclass5_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
Użytkownik luki3507 edytował ten post 02.08.2012 12:09
Napisano 02.08.2012 14:29
Użytkownik jawol1234 edytował ten post 02.08.2012 14:32
Napisano 03.08.2012 17:36
ADMIN_ALL - którakolwiek ADMIN_IMMUNITY - flaga "a" ADMIN_RESERVATION - flaga "b" ADMIN_KICK - flaga "c" ADMIN_BAN - flaga "d" ADMIN_SLAY - flaga "e" ADMIN_MAP - flaga "f" ADMIN_CVAR - flaga "g" ADMIN_CFG - flaga "h" ADMIN_CHAT - flaga "i" * ADMIN_VOTE - flaga "j" ADMIN_PASSWORD - flaga "k" ADMIN_RCON - flaga "l" ADMIN_LEVEL_A - flaga "m" ADMIN_LEVEL_B - flaga "n" ADMIN_LEVEL_C - flaga "o" ADMIN_LEVEL_D - flaga "p" ADMIN_LEVEL_E - flaga "q" ADMIN_LEVEL_F - flaga "r" ADMIN_LEVEL_G - flaga "s" ADMIN_LEVEL_H - flaga "t" ADMIN_MENU - flaga "u" ADMIN_ADMIN - flaga "y" ADMIN_USER - flaga "z"
Użytkownik Eryk172 edytował ten post 03.08.2012 17:37
CoD Mod - IP: 91.224.117.15:27235
JailBreak - IP: 91.224.117.67:27075
Only de_dust2 - IP: 193.33.176.197:27111
Więcej serwerów na: www.NaFarciePL
Napisano 03.08.2012 17:44
Program bazowy rotacji jednostekChcę wtyczki, która podczas przenoszenia części może je obracać. Napisany przez Giont, 18.03.2021 ![]() |
|
![]() |
|||
BaseBuilder TurboBBPaczka basebuilder Napisany przez KoRrNiK, 18.01.2021 ![]() |
|
![]() |
|||
jak dodac Limit w BankuNapisany przez CichyRex, 12.04.2020 ![]() |
|
![]() |
|||
Info Dla graczy BasebuilderNapisany przez CichyRex, 04.04.2020 ![]() |
|
![]() |
|||
The problem of disappearingThe problem of disappearing Napisany przez milad512, 01.04.2020 ![]() |
|
![]() |
0 użytkowników, 0 gości, 0 anonimowych