Участник
Пользователь
- Сообщения
- 59
- Реакции
- 21
- Предупреждения
- 10
- Помог
- 1 раз(а)
- Ошибка
-
Нет ошибок
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.8.3-Re (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Authors (ReHLDS Team):
"Adidasman", "s1lent"
Compiled: Dec 24 2016 15:59:38
Build ID: 7
Core mode: JIT + ASM32
- Билд
-
Protocol version Prot 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.4.0.653-dev
Build date: 18:30:05 May 13 2018 (1492)
Build from: https://github.com/dreamstalker/rehlds/commit/87a2d17
- ReGamedll
-
ReGameDLL version: 5.7.0.301-dev
Build date: 00:28:14 Apr 9 2018
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/fe0ea9a
- Версия Metamod
-
Metamod-r v1.3.0.106, API (5:13)
Metamod-r build: 18:46:29 Jan 26 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/80555d3
- Список метамодулей
-
[ 1] Reunion RUN - reunion.so v0.1.0.89 ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck.so v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker.so v2.5 ini ANY
[ 4] VoiceTranscoder RUN - vtc.so v2017RC3 ini ANY
[ 5] WHBlocker RUN - whblocker.so v1.5.695 ini ANY
[ 6] ReSemiclip RUN - resemiclip.so v2.3.9 ini ANY
[ 7] AMX Mod X RUN - amxmodx.so v1.8.3-Re ini Start ANY
[ 8] ReSRDetector RUN - resrdetector.so v0.1.0 ini ANY
[ 9] MySQL RUN - mysql_amxx_i386.so v1.8.3-Re pl7 ANY
[10] Fun RUN - fun_amxx_i386.so v1.8.3-Re pl7 ANY
[11] Engine RUN - engine_amxx_i386.so v1.8.3-Re pl7 ANY
[12] FakeMeta RUN - fakemeta_amxx_i386.so v1.8.3-Re pl7 ANY
[13] CStrike RUN - cstrike_amxx_i386.so v1.8.3-Re pl7 ANY
[14] CSX RUN - csx_amxx_i386.so v1.8.3-Re pl7 ANY
[15] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.8.3-Re pl7 ANY
[16] ReAPI RUN - reapi_amxx_i386.so v5.2.0.145-dev pl7 ANY Never
[17] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl7 ANY Never
- Список плагинов
-
[ 1] USS & Stats-Time 1.5 Aleksandr E. uss.amxx running
[ 2] Advanced Gag 1.9.0 neygomon advanced_gag.am running
[ 3] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 4] FreshBans 1.4.0b kanagava fresh_bans_140_ running
[ 5] Admin Loader 3.1 neygomon admin_loader_fo running
[ 6] Menus Front-End 1.5 neugomon menufront_end.a running
[ 7] Maps Menu 1.4.1 neugomon mapsmenu_.amxx running
[ 8] Players Menu 1.8.3 AMXX Dev Team plmenu.amxx running
[ 9] Restrict Weapons 1.8.3 AMXX Dev Team restmenu.amxx running
[ 10] Advanced MapChooser 1.4 neygomon advanced_mapcho running
[ 11] Change Game Name 1.2 ReHLDS Team change_game_nam running
[ 12] Autoresponder/Advertis 0.5 MaximusBrood reklama_in_chat running
[ 13] Rock to Ban 1.52f Safety1st rock_to_ban.amx running
[ 14] [ReAPI] AdminFreeLook 1.0 ReHLDS Team reapi_adminfree running
[ 15] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 16] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 17] Smoke: HealthNade 0.0.3 wopox1337 smoke_healthnad running
[ 18] WarmUP Sound 1.0 ill warmup_sound.am running
[ 19] [ReAPI] No Team Flash 0.0.2 Vaqtincha no_team_flash_l running
[ 20] Parachute for ALL [ReA 3.0 Leo_[BH] parachute_for_a running
[ 21] Kill Sound 1.0 Jack Daniel`s kill_sound.amxx running
[ 22] Reset Score 0.0.2f wopox1337 reset_score.amx running
[ 23] [ReAPI] AWPoff 1.4.2 PAffAEJIkA :3 awp_off.amxx running
[ 24] Round Balancer 1.0 build neygomon round_balancer. running
[ 25] Mode 2x2 2.5re s1lent mode_2x2.amxx running
[ 26] Fake Ping 1.1 MeRcyLeZZ/gyxoBk fake_ping.amxx running
[ 27] Damager 2.0 Prayer damager.amxx running
[ 28] [ReAMX] Army Ranks Ult 17.12.12 SKAJIbnEJIb army_ranks_ulti running
[ 29] [ReAMX] Ultimate Weapo 17.08.28 SKAJIbnEJIb ultimate_weapon running
[ 30] [ReAMX] VIP RBS 18.03.24 SKAJIbnEJIb vip_rbs.amxx running
[ 31] [ReAMX] Demo Recorder 18.02.08 SKAJIbnEJIb demorecorder_rb running
[ 32] [ReAMX] Chat Controlle 18.05.15 SKAJIbnEJIb chat_controller running
[ 33] [ReAMX] AR Bets 17.10.30 SKAJIbnEJIb ar_bets.amxx running
[ 34] [ReAMX] Jobs RBS 18.05.15 SKAJIbnEJIb jobs_rbs.amxx running
[ 35] [ReAMX] Kill Assist RB 17.10.30 Digi & SKAJIbnEJ killassist_rbs. running
[ 36] [ReAMX] Piss RBS 17.10.30 SKAJIbnEJIb & KR piss_rbs.amxx running
[ 37] [ReAMX] High Ping Kick 18.05.15 SKAJIbnEJIb hpk_rbs.amxx running
[ 38] [ReAMX] Map Spawns Edi 17.08.27 iG_os & SKAJIbnE MapSpawnsEditor running
[ 39] [ReAMX] ESP RBS 17.10.30 SKAJIbnEJIb & Ko esp_rbs.amxx running
[ 40] [ReAMX] Chat RBS 18.03.24 SKAJIbnEJIb chat_rbs.amxx running
[ 41] [ReAMX] CsStats MySQL 18.03.24 SKAJIbnEJIb csstats_mysql.a running
[ 42] [ReAMX] Stats Configur 17.10.30 SKAJIbnEJIb & AM statscfg_rbs.am running
[ 43] [ReAMX] StatsX RBS 18.03.24 SKAJIbnEJIb & AM statsx_rbs.amxx running
- Автор плагина
- В исходнике нет автора
- Версия плагина
- warmup_sound_1.0
- Исходный код
-
#include <amxmodx>
#include <amxmisc>
#include <dhudmessage>
#include <hamsandwich>
#include <fun>
new Timer, SecondsCvar
new bool:g_knife = true
public plugin_init()
{
register_plugin( "WarmUP Sound" , "1.0", "ill" )
register_event("DeathMsg", "on_death", "a")
register_event( "CurWeapon", "EventCurWeapon", "be", "2!29" )
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn_Post", 1)
SecondsCvar = register_cvar("auto_rr_time","70")
Timer = get_pcvar_num(SecondsCvar)
set_task(1.0, "start_rr_timer", _, _, _, "a", Timer)
}
public plugin_precache()
{
precache_sound("misc/tamada.mp3")
}
public fw_PlayerSpawn_Post(id)
{
if(!is_user_alive(id))
return
if(g_knife)
set_user_health(id, 35)
}
public on_death()
{
new victim
victim = read_data(2)
if(g_knife)
set_task(1.0, "fnRevivePlayer", victim)
}
public client_putinserver(id)
{
if(g_knife)
set_task(3.0, "Start_sound", id)
}
public Start_sound(id)
{
if(g_knife)
{
client_cmd(id, "mp3 play sound/misc/tamada.mp3")
if(!is_user_alive(id) && (get_user_team(id) == 1 || get_user_team(id) == 2) )
ExecuteHamB(Ham_CS_RoundRespawn, id)
}
}
public fnRevivePlayer(id)
{
if(!is_user_alive(id) && (get_user_team(id) == 1 || get_user_team(id) == 2))
ExecuteHamB(Ham_CS_RoundRespawn, id)
}
public EventCurWeapon(id)
{
if(g_knife)
engclient_cmd(id, "weapon_knife")
}
public start_rr_timer()
{
Timer--
set_dhudmessage(135, 206, 235, -1.0, 0.08, 0, 0.0, 0.01)
show_dhudmessage(0, "Разминка!^nРестарт через %d секунд", Timer)
if(Timer < 1)
{
server_cmd("sv_restartround 1")
set_task(3.0, "rr_end")
client_cmd(0, "mp3 stop");
g_knife = false
}
}
public rr_end()
{
set_dhudmessage( random_num(0, 255), random_num(0, 255), random_num(0, 255), -1.0, 0.78, 2, 6.0, 3.0, 0.1, 1.5, false )
show_dhudmessage(0, "Удачной игры!")
}
Помимо этого плагина связаного с ножами есть еще один Player Knife Duel и вся проблема в том ,что если на сервере остались играть 1 на 1 игрок и кто то во время раунда разминки чиркнет ножом то автоматически вылазит меню боя на ножах и если игрок согласился то в раунде на ножах тоже музыка ) и кароче там начинается каша из музыки.
Вопрос как во время работы плагина warmup_sound_1.0 отключать плагин Player Knife Duel ,что бы не было таких сбоев.
То есть как и где прописать в самом плагине warmup_sound_1.0 отключение плагина Player Knife Duel на время разминки.
Вопрос как во время работы плагина warmup_sound_1.0 отключать плагин Player Knife Duel ,что бы не было таких сбоев.
То есть как и где прописать в самом плагине warmup_sound_1.0 отключение плагина Player Knife Duel на время разминки.
В этой теме было размещено решение! Перейти к решению.