при убистве игрок умирает

TexHoKyKaH

Пользователь
Регистрация
31 Май 2019
Сообщения
52
Симпатии
23
Пол
Мужской
OS
Linux
Amx Mod X
AMXX 1.8.3-dev
Билд
ReHLDS version: 3.7.0.685-dev
ReGamedll
ReGameDLL version: 5.9.0.379-dev
Metamod
Metamod v1.21p37 2013/05/30 (5:13)
Meta модули
Код:
[ 1] Reunion RUN - reunion.so v0.1.0.1 ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck.so v0.1.6 ini Start Never
[ 3] VoiceTranscoder RUN - vtc.so v2017RC3 ini ANY
[ 4] Rechecker RUN - rechecker.so v2.5 ini ANY
[ 5] ReSemiclip RUN - resemiclip.so v2.3.9 ini ANY
[ 6] AMX Mod X RUN - amxmodx.so v1.9.0.5 ini ANY
[ 7] ReSRDetector RUN - resrdetector.so v0.1.0 ini ANY
[ 8] WHBlocker RUN - whblocker.so v1.5.696 ini ANY
[ 9] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl6 ANY
[10] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl6 ANY
[11] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl6 ANY
[12] ReAimDetector RUN - reaimdetector_am v0.2.2 pl6 ANY Never
[13] ReAPI RUN - reapi_amxx_i386. v5.9.0.1 pl6 ANY Never
[14] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl6 ANY
[15] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl6 ANY
[16] Engine RUN - engine_amxx_i386 v1.9.0.5 pl6 ANY
[17] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl6 ANY
17 plugins, 17 running
Плагины
Код:
[ 1] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 2] Admin Loader 3.5 neygomon admin_loader.am running
[ 3] FreshBans 1.4.0b kanagava fresh_bans_183. running
[ 4] ScreenMaker 1.1 neygomon screen_maker.am running
[ 5] Ultimate Chats Control 5.2(c) neygomon ucc.amxx running
[ 6] UCC Addon: VoteGAG 1.2 neygomon ucc_votegag.amx running
[ 7] Admin Commands 1.9.0.5235 AMXX Dev Team admincmd.amxx running
[ 8] Slots Reservation 1.2 pUzzlik adminslots.amxx running
[ 9] Menus Front-End 1.5 neugomon menufront.amxx running
[ 10] Commands Menu 1.9.0.5235 AMXX Dev Team cmdmenu.amxx running
[ 11] Players Menu 1.7 neugomon plmenu.amxx running
[ 12] SF Warn Menu 0.1.4g serfreeman1337 sf_admin_warns. running
[ 13] Maps Menu 1.4.2 neugomon mapsmenu.amxx running
[ 14] Admin Chat 1.9.0.5235 AMXX Dev Team adminchat.amxx running
[ 15] Player Votes 1.0 neugomon player_votes.am running
[ 16] [Fork] Lite NightMode 1.1 neygomon & NoNaM lite_nightmode. running
[ 17] Advanced MapChooser 1.4 neygomon map_chooser.amx running
[ 18] Night VIP 0.1 maFFyoZZyk night_vip.amxx running
[ 19] CS Misc. Stats 1.9.0.5247 AMXX Dev Team miscstats.amxx running
[ 20] Stats Configuration 1.9.0.5235 AMXX Dev Team statscfg.amxx running
[ 21] AES: StatsX 0.5+1 serfreeman1337 aes_statsx_cstr running
[ 22] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 23] Say me and Say hp 1.4 neygomon sayme.amxx running
[ 24] Restrict Weapons 1.9.0.5235 AMXX Dev Team restmenu.amxx running
[ 25] Lite Admin ESP 1.0 neygomon admin_esp.amxx running
[ 26] Lite Recoder 1.0.1 neygomon amx_demorec.amx running
[ 27] Advert Messages 1.22 neygomon adverts.amxx running
[ 28] [ReAPI] AdminFreeLook 1.0 ReHLDS Team adminfreelook.a running
[ 29] [ReAPI] Advanced Team 0.1.0 Vaqtincha AdvancedTeamCho running
[ 30] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 31] Auto RR 1.1 AcE | sweden auto_rr.amxx stopped
[ 32] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 33] [ReAPI] KiLL Assist poka_4to_b PRoSToTeM@ kill_assist_rea running
[ 34] First Kill 1.0 neygomon first_killer.am running
[ 35] Damager 0.0.5 steelzzz damager.amxx running
[ 36] [ReAPI] Lite TeamBalan 2.3 neugomon lite_balancer.a running
[ 37] Lite VoteBan 1.4 neygomon lite_voteban.am running
[ 38] Server Menu 0.1 maFFyoZZyk menu.amxx running
[ 39] Mode 2x2 2.5re s1lent mode.amxx running
[ 40] [ReAPI] No Team Flash 1.0 ReHLDS Team noteamflash.amx running
[ 41] [ReAPI] Parachute 1.1 ReHLDS Team parachute.amxx running
[ 42] Ping Checker 26.0.1 RC1 h1k3 ping_checker.am running
[ 43] Lite Rank System 1.6 AcE | serfreeman lrs_csstats.amx running
[ 44] [ReAPI] Slay Loosers 1.1 neugomon reapi_slayloose running
[ 45] TOP VIP (Auto Set) 2.0 Leo_[BH] & maFFy top_vip.amxx running
[ 46] Lite Vampire + Fade 1.3 neygomon vampire_sfade.a running
[ 47] Time for info 1.1 neugomon /// eL time_for_info.a running
[ 48] resetscore(ReAPI) 1.1 Phantom resetscore.amxx running
[ 49] Show Online 1.0 neugomon show_online.amx running
[ 50] Steam Menu 3.0 CaNiBaL | sweden steam_menu.amxx running
[ 51] User Connect 0.0.4 Jumper user_connect.am running
[ 52] Lite Translit 2.8 neygomon | swede lite_translit.a running
[ 53] [ReVIP] System Core 2.5 full pUzzlik re_vip_core.amx running
[ 54] [ReVIP] Menu 2.5 full pUzzlik re_vip_menu.amx running
[ 55] [ReVIP] Tab Info 2.5 full pUzzlik re_vip_tab_info running
[ 56] [ReVIP] Custom Shop 2.5 full pUzzlik re_vip_shop.amx running
[ 57] [ReVIP] Custom AK-47 2.5 full pUzzlik re_vip_custom_a stopped
[ 58] [ReVIP] Custom M4A1 2.5 full pUzzlik re_vip_custom_m stopped
[ 59] [ReVIP] Custom AWP 2.5 full pUzzlik re_vip_custom_a stopped
59 plugins, 55 running
Amxx Модули
Код:
C++:
Список загруженных модулей: Наименовани  Верси  Автор           Состо MySQL                   1.9.0.5247  AMX Mod X Dev Team   running    CStrike                 1.9.0.5247  AMX Mod X Dev Team   running    CSX                     1.9.0.5247  AMX Mod X Dev Team   running    ReAimDetector           0.2.2       ReHLDS Team          running    ReAPI                   5.9.0.167-  Asmodai & s1lent     running    FakeMeta                1.9.0.5247  AMX Mod X Dev Team   running    Ham Sandwich            1.9.0.5247  AMX Mod X Dev Team   running    Engine                  1.9.0.5247  AMX Mod X Dev Team   running    nVault                  1.9.0.5247  AMX Mod X Dev Team   running    Fun                     1.9.0.5247  AMX Mod X Dev Team   running    Всего 10 модулей
Ошибка
Код:
так такой ошибки нет
Исходник
Код:
Код:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <cstrike>
#include <fun>

const Float:WARMUP_TIME = 60.0                     /* Время разминки. */
new const HUD_COLOR[3] = {100, 100, 100}             /* Цвет сообщения в формате R, G, B */
new const HUD_COLOR2[3] = {100, 100, 100}             /* Цвет второго сообщения в формате R, G, B */
new const Float:HUD_POSITION[2] = {-1.0, 0.15}             /* Позиция сообщения по оси X, Y */
new const Float:HUD_POSITION2[2] = {-1.0, 0.78}         /* Позиция второго сообщения по оси X, Y */
#define STOP_PLUGS                         /* Ставим плагины на паузу во время разминки. */
#define WARMUP_AKM4

new bool:g_warmup, timer, SyncHudMsg

#if defined STOP_PLUGS
new g_arPlugins[][] =
{
    "re_vip_menu.amxx",
    "re_vip_shop.amxx",
    "parachute.amxx",
    "vampire_sfade.amxx",
    "steam_menu.amxx",
    "first_killer.amxx"
}
#endif

public plugin_init()
{
    register_plugin("Auto RR", "1.1", "AcE | sweden")
    RegisterHam(Ham_Killed, "player", "Killed_Me")
    RegisterHam(Ham_Spawn, "player", "Spawn_Me", true)

    SyncHudMsg = CreateHudSyncObj()
    timer = floatround(WARMUP_TIME)
    set_task(1.0, "start_rr_timer", _, _, _, "a", timer)
    g_warmup = true
    return PLUGIN_CONTINUE
}

public start_rr_timer()
{
    #if defined STOP_PLUGS
    PluginController(1)
    #endif

    ClearSyncHud(0, SyncHudMsg)
#if !defined WARMUP_KNIFE
    set_hudmessage(HUD_COLOR[0], HUD_COLOR[1], HUD_COLOR[2], HUD_POSITION[0], HUD_POSITION[1], 0, 0.0, 1.0, _, _, -1)
    ShowSyncHudMsg(0, SyncHudMsg, "Разминка^n[осталось %d секунд]", timer)
#else
    set_hudmessage(HUD_COLOR[0], HUD_COLOR[1], HUD_COLOR[2], HUD_POSITION[0], HUD_POSITION[1], 0, 0.0, 1.0, _, _, -1)
    ShowSyncHudMsg(0, SyncHudMsg, "Разминка на ножах^n[осталось %d секунд]", timer)
#endif
    if (timer == 1)
    {
        g_warmup = false
    #if defined STOP_PLUGS
        PluginController(0)
    #endif
        set_task(3.0, "rr_end")
        server_cmd("sv_restart 1")
    }
    timer--
}

public rr_end()
{
    ClearSyncHud(0, SyncHudMsg)
    set_hudmessage(HUD_COLOR2[0], HUD_COLOR2[1], HUD_COLOR2[2], HUD_POSITION2[0], HUD_POSITION2[1], 0, 6.0, 5.0)
    ShowSyncHudMsg(0, SyncHudMsg, "GL & HF!^nПриятной игры!")
    pause("ad")
}

public Spawn_Me(id)
{
    if (!g_warmup || !is_user_alive(id))
    return PLUGIN_CONTINUE
#if defined WARMUP_AKM4
    give_item(id,"weapon_ak47")
    give_item(id,"weapon_m4a1")
    cs_set_user_bpammo(id, CSW_AK47, 90)
    cs_set_user_bpammo(id, CSW_M4A1, 90)
#endif
    return 0;
}

public Killed_Me(id)
{
    if (g_warmup)
        set_task(1.0, "respawn", id)
}

public respawn(id)
{
    if (!g_warmup || !is_user_connected(id))
        return PLUGIN_CONTINUE
    if ((get_user_team(id) == 1) || (get_user_team(id) == 2))
        ExecuteHamB(Ham_CS_RoundRespawn, id)
    return PLUGIN_CONTINUE
}

#if defined WARMUP_KNIFE
public checkWeapon(id)
{
    if (!g_warmup || !is_user_alive(id))
        return PLUGIN_CONTINUE
    if (read_data(2) == CSW_KNIFE)
        return PLUGIN_CONTINUE

    engclient_cmd(id, "weapon_knife")
    message_begin(MSG_ONE, g_CurWeapon, {0, 0, 0}, id)
    write_byte(1)
    write_byte(CSW_KNIFE)
    write_byte(0)
    message_end()
    return PLUGIN_CONTINUE
}
#endif

#if defined STOP_PLUGS
PluginController(stop)
{
    for (new i; i < sizeof g_arPlugins; i ++)
    {
        if (stop) pause ("ac", g_arPlugins[i])
        else unpause ("ac", g_arPlugins[i])
    }
}
#endif
когда человек убивает игрока он же сам и умирает не пойму в чем проблема
сделал пару скринов чтоб было видно
на нем видно как игрок убил другого игрока и умер также на другой баг появляется когда сервер забивает а когда 1х1 его нет а уже при 2х2 или больше начинается эта ерунда
 

Вложения

Vaqtincha

aggressive
Разработчик
Скриптер
Регистрация
28 Янв 2018
Сообщения
963
Симпатии
685
Пол
Мужской
Не пойму как вы найдите такие плагины?
 

TexHoKyKaH

Пользователь
Регистрация
31 Май 2019
Сообщения
52
Симпатии
23
Пол
Мужской
Vaqtincha, а что с ним не так не много сделал его под себя)
 
Сверху Снизу