bb_classes65 czyli z klasami do BB jak plugin jest wylaczony serwer dziala ale gdzy plugin wlacze serwer po zmianie mapki sie wyłaczai jest ofilne plugin normalnie sie kpmpiluje i niewiem o co chodzi mozecie mi powiedziec jak to naprwaic?
sma. pluginu
Spoiler
/*================================================================================ ----------------------------------- -*- [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[] = { "=Balanced=" } new const zclass1_model[] = { "bb_classic" } new const zclass1_clawmodel[] = { "v_bloodyhands" } const zclass1_health = 4000 const zclass1_speed = 260 const Float:zclass1_gravity = 1.0 // Fast Zombie Attributes new const zclass2_name[] = { "Fast Zombie" } new const zclass2_info[] = { "HP-- Speed++" } new const zclass2_model[] = { "bb_fast" } new const zclass2_clawmodel[] = { "v_bloodyhands" } const zclass2_health = 3000 const zclass2_speed = 325 const Float:zclass2_gravity = 1.0 // Jumper Zombie Attributes new const zclass3_name[] = { "Jumper Zombie" } new const zclass3_info[] = { "HP- Jump+" } new const zclass3_model[] = { "bb_jumper" } new const zclass3_clawmodel[] = { "v_bloodyhands" } const zclass3_health = 2500 const zclass3_speed = 285 const Float:zclass3_gravity = 0.5 // Tanker Zombie Attributes new const zclass4_name[] = { "Tanker Zombie" } new const zclass4_info[] = { "HP++ Speed-" } new const zclass4_model[] = { "bb_tanker" } new const zclass4_clawmodel[] = { "v_bloodyhands" } const zclass4_health = 5000 const zclass4_speed = 210 const Float:zclass4_gravity = 1.0 #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) 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) } #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
plugin.ini jezlei by bylo potrzebne
Spoiler
; AMX Mod X plugins ; Admin Base - Always one has to be activated admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) minibans.amxx ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ;ZABEZPIECZENIA autobuyfix.amxx ;Zabezpiecza przed atakami autobuy noflood.amxx ;Zabezpiecza przed floodem ukrywanie_cvarow.amxx ;Zabezpiecza serwer przed samoczynnymi padami ; WLASNE admin_spec_esp.amxx deagsmapmanager.amxx godzina.amxx ad_manager.amxx raty.amxx high_ping_kicker.amxx custom_radio.amxx ;############### [Base Builder] ############ basebuilder65.amxx ; Silnik Base Builder bb_ammopacks.amxx ; Ammo Packi bb_classes65.amx ;############### [Inne Puginy] ############# auto_join_on_connect.amxx ; Automatycznie Przydziela Do Teamu hpk.amxx ; Za Duży Ping wyrzuca ad_manager.amxx ; Reklamy na say`u Allow_round_finish.amxx ; Umożliwia dokończenie rundy mimo zakończenia czasu mapy advanced_amx_ip.amxx ; Pokazuje jakie Kto ma ip logs.amxx ; Zapisuje IP Graczy admin_gag.amxx ; Admin może robić mute mutemenu.amxx ; Gracz może dać mute graczowi server_connect_message.amxx ; Wiadomośc podczas połączenia z serwerem No_advertisement.amxx ; Zakaz reklamy w say'u reklama.amxx ; Zakaz reklamy w nicku Wynik.amx debug ; Wynik przy kazdej rundzie