Do zamknięcia.
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.
|
Guest Message by DevFuse
IceCool
Rejestracja: 12.10.2014Aktualnie: Nieaktywny
Poza forum Ostatnio: 20.08.2015 14:12
Statystyki
- Grupa: Użytkownik
- Całość postów: 19
- Odwiedzin: 1 580
- Tytuł: Początkujący
- Wiek: Wiek nie został ustalony
- Urodziny: Data urodzin nie została podana
-
Płeć
Mężczyzna
-
Lokalizacja
Podkarpacie
Kontakt
Moje posty
W temacie: [KOSZ] VIP
26.05.2015 11:52
W temacie: Crashe serwera ciągłe
29.03.2015 18:25
Proszę
; AMX Mod X plugins
amxbans_core.amxx ;
amxbans_main.amxx ;
amxbans_ssban.amxx ;
; 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)
; 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)
ReasonKicker.amxx debug ;
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
;CRASHUJE SERWER
;0_hp_bug_new.amxx ; - WYLACZONY
;WYLACZONY
;show_ip.amxx debug ;
;Najlepszy.amxx ;
;afkbombtransfer.amxx ;
;deathinfo.amxx ;
;kup_premium.amxx ;
;svip.amxx ;
;widzialnosc_min.amxx ;
;DZIALAJACE
polski_cs.amxx ;
descriptive_fire_in_the_hole.amxx ;
ad_manager.amxx ;
abd.amxx ;
c4countdown.amxx ;
ne_unlimitedammo.amxx ;
galileo.amxx ;
grenade_trail.amxx ;
ptb.amxx ;
nrs_v2.amxx ;
noresetscore.amxx ;
prefixy_cod.amxx ;
urwie.amxx ;
cod_freelvl.amxx ;
cod_top15.amxx ;
modelvip.amxx ;
mutemenu.amxx ;
block_team_flash.amxx ;
anticommerce.amxx ;
blokuj_he.amxx ;
halo_stats.amxx ;
niesmiertelne_hostage.amxx ;
skull.amxx ;
hpk.amxx ;
przechodzenie.amxx ;
auto_reload.amxx ;
cod_advancedxp.amxx ;
admin_spec_esp.amxx ;
alt_end_round_sounds.amxx ;
WykrywaczBledow.amxx ;
GHW_Weapon_Replacement.amxx ;
W temacie: Prośba o 3 klasy premium xxl min. Gamer XXL
02.01.2015 19:11
Czekam na inne propozycje bo dalej są błędy.
Czekam na Snajpera XXL
W temacie: Prośba o 3 klasy premium xxl min. Gamer XXL
02.01.2015 18:24
Proszę wystarczyło lokalnie z kopilować
Jak ja lokalnie kompiluje to jest aż 6 błędów
W temacie: Prośba o 3 klasy premium xxl min. Gamer XXL
02.01.2015 18:05
#include <amxmodx>#include <amxmisc>#include <codmod>#include <engine>#include <fakemeta>#include <hamsandwich>#include <cstrike>#include <fun>#define DMG_BULLET (1<<1)#define DMG_HEGRENADE (1<<24)new const nazwa[] = "Snajper XXL";new const opis[] = "4x Skok, 4x Miny, grawitka 400, No-Recoil, Niewidka podczas kucania 60, AWP/SCOUT 1/1, deagle 1/4, 1/1 z he";new const bronie = (1<<CSW_SCOUT)|(1<<CSW_HEGRENADE)|(1<<CSW_AWP)|(1<<CSW_DEAGLE);new const zdrowie = 50;new const kondycja = 50;new const inteligencja = 50;new const wytrzymalosc = 50;new const modelMiny[] = "models/QTM_CodMod/mine.mdl"new sprite_blast_miny;new ilosc_min_gracza[33];new skoki[33];new ma_klase[33];public plugin_init(){register_plugin(nazwa, "1.0", "IceCool");cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc);register_forward(FM_PlayerPreThink, "fwPrethink_Niewidzialnosc", 1);RegisterHam(Ham_Spawn, "player", "fwSpawn_Grawitacja", 1);register_touch("mine", "player", "DotykMiny");register_event("HLTV", "NowaRunda_Miny", "a", "1=0", "2=0");RegisterHam(Ham_Spawn, "player", "fwSpawn_Miny", 1);register_forward(FM_CmdStart, "fwCmdStart_MultiJump");register_forward(FM_PlayerPreThink, "PreThink");register_forward(FM_UpdateClientData, "UpdateClientData", 1)RegisterHam(Ham_TakeDamage, "player", "TakeDamage");}public plugin_precache(){precache_model(modelMiny);sprite_blast_miny = precache_model("sprites/dexplo.spr");}public client_disconnect(id){new entMiny = find_ent_by_class(0, "mine");while(entMiny > 0){if(entity_get_edict(entMiny, EV_ENT_owner) == id)remove_entity(entMiny);entMiny = find_ent_by_class(entMiny, "mine");}}public cod_class_enabled(id){if(!(get_user_flags(id) & ADMIN_LEVEL_C)){client_print(id, print_chat, "[Snajper XXL] Nie masz uprawnien, aby uzywac tej klasy.")return COD_STOP;}entity_set_float(id, EV_FL_gravity, 400.0/800.0);ilosc_min_gracza[id] = 4;give_item(id, "weapon_hegrenade");ma_klase[id] = true;return COD_CONTINUE;}public cod_class_disabled(id){set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 255);entity_set_float(id, EV_FL_gravity, 1.0);ma_klase[id] = false;}public cod_class_skill_used(id){if (!ilosc_min_gracza[id]){client_print(id, print_center, "Wykorzystales juz wszystkie miny!");}else{ilosc_min_gracza[id]--;new Float:origin[3];entity_get_vector(id, EV_VEC_origin, origin);new ent = create_entity("info_target");entity_set_string(ent ,EV_SZ_classname, "mine");entity_set_edict(ent ,EV_ENT_owner, id);entity_set_int(ent, EV_INT_movetype, MOVETYPE_TOSS);entity_set_origin(ent, origin);entity_set_int(ent, EV_INT_solid, SOLID_BBOX);entity_set_model(ent, modelMiny);entity_set_size(ent,Float:{-16.0,-16.0,0.0},Float:{16.0,16.0,2.0});drop_to_floor(ent);set_rendering(ent,kRenderFxNone, 0,0,0, kRenderTransTexture,50);}}//Przy kucaniupublic fwPrethink_Niewidzialnosc(id){if(!ma_klase[id])return;new button = get_user_button(id);if( button & IN_DUCK ){set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 60);}else{set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 255);}}public fwSpawn_Grawitacja(id){if(ma_klase[id])entity_set_float(id, EV_FL_gravity, 400.0/800.0);}public fwSpawn_Miny(id){if(is_user_alive(id))ilosc_min_gracza[id] = 4;}public DotykMiny(ent, id){if(!is_valid_ent(ent))return;new attacker = entity_get_edict(ent, EV_ENT_owner);if (get_user_team(attacker) != get_user_team(id)){new Float:fOrigin[3];entity_get_vector( ent, EV_VEC_origin, fOrigin);new iOrigin[3];for(new i=0;i<3;i++)iOrigin[i] = floatround(fOrigin[i]);message_begin(MSG_BROADCAST,SVC_TEMPENTITY, iOrigin);write_byte(TE_EXPLOSION);write_coord(iOrigin[0]);write_coord(iOrigin[1]);write_coord(iOrigin[2]);write_short(sprite_blast_miny);write_byte(32);write_byte(20);write_byte(0);message_end();new entlist[33];new numfound = find_sphere_class(ent,"player", 90.0 ,entlist, 32);for (new i=0; i < numfound; i++){new pid = entlist[i];if (!is_user_alive(pid) || get_user_team(attacker) == get_user_team(pid))continue;cod_inflict_damage(attacker, pid, 70.0, 0.8, ent, (1<<24));}remove_entity(ent);}}public NowaRunda_Miny(){new entMiny = find_ent_by_class(-1, "mine");while(entMiny > 0){remove_entity(entMiny);entMiny = find_ent_by_class(entMiny, "mine");}}public fwCmdStart_MultiJump(id, uc_handle){if(!is_user_alive(id) || !ma_klase[id])return FMRES_IGNORED;new flags = pev(id, pev_flags);if((get_uc(uc_handle, UC_Buttons) & IN_JUMP) && !(flags & FL_ONGROUND) && !(pev(id, pev_oldbuttons) & IN_JUMP) && skoki[id]){skoki[id]--;new Float:velocity[3];pev(id, pev_velocity,velocity);velocity[2] = random_float(265.0,285.0);set_pev(id, pev_velocity,velocity);}else if(flags & FL_ONGROUND)skoki[id] = 3;return FMRES_IGNORED;}public PreThink(id){if(ma_klase[id])set_pev(id, pev_punchangle, {0.0,0.0,0.0})}public UpdateClientData(id, sw, cd_handle){if(ma_klase[id])set_cd(cd_handle, CD_PunchAngle, {0.0,0.0,0.0})}public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits){if(!is_user_connected(idattacker))return HAM_IGNORED;if(!ma_klase[idattacker])return HAM_IGNORED;if(get_user_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_SCOUT && damagebits & DMG_BULLET)cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);if(get_user_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_AWP && damagebits & DMG_BULLET)cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);if(get_user_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_DEAGLE && damagebits & DMG_BULLET && random_num(1, 4) == 1)cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);if(get_user_team(this) != get_user_team(idattacker) && get_user_weapon(idattacker) == CSW_HEGRENADE && damagebits & DMG_HEGRENADE)cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits);return HAM_IGNORED;}
Zrobiłem Snajpera XXL ale są 2 błędy może ktoś je naprawić?
- AMXX.pl: Support AMX Mod X i SourceMod
- → Przeglądanie profilu: Posty: IceCool
- Regulamin