Участник
Пользователь
- Сообщения
- 194
- Реакции
- 43
- Помог
- 4 раз(а)
- Ошибка
-
После взрыва бомбы перешел в спектора, иконка осталась гореть даже после начала следующего раунда.
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5263
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.695-dev-mpatch
Build date: 14:51:37 Apr 6 2020 (2186)
Build from: https://github.com/dreamstalker/rehlds/commit/7513e71
- ReGamedll
-
ReGameDLL version: 5.16.0.460-dev
Build date: 10:11:49 May 2 2020
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/4f72525
- Версия Metamod
-
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
- Список метамодулей
-
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] SafeNameAndChat RUN - SafeNameAndChat.so v1.1 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.1.0.92c ini Start Never
[ 3] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 4] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 5] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY ANY
[ 6] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5263 ini Start ANY
[ 7] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 8] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 9] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl6 ANY Never
[10] ReAPI RUN - reapi_amxx_i386.so v5.12.0.192-dev pl6 ANY Never
[11] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl6 ANY ANY
[12] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl6 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl6 ANY ANY
[14] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl6 ANY ANY
[15] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl6 ANY ANY
[16] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl6 ANY ANY
[17] SxGeo RUN - sxgeo_amxx_i386.so v2.2 pl6 ANY Never
[18] gRIP RUN - grip_amxx_i386.so v0.1.5 Beta pl6 ANY ANY
18 plugins, 18 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 2] FreshBans 1.4.3b kanagava fresh_bans.amxx running
[ 3] ScreenMaker 1.1 neygomon screen_maker.am running
[ 4] Admin Commands 1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 5] Menus Front-End 1.5 neugomon menufront.amxx running
[ 6] Commands Menu 1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 7] Players Menu 1.7 neugomon plmenu.amxx running
[ 8] SF Warn Menu 0.1.4g serfreeman1337 sf_admin_warns. running
[ 9] Lite NightMode 1.1 neygomon lite_nightmode. running
[ 10] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 11] Admin Chat 1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 13] Admin Votes 1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 14] Night VIP 0.1 maFFyoZZyk night_vip.amxx running
[ 15] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 16] Stats Configuration 1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 17] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 18] Say me and Say hp 1.4 neygomon sayme.amxx running
[ 19] Items Restrict 1.0 ReHLDS Team items_restrict. running
[ 20] Lite Admin ESP 1.1 neygomon, AcE admin_esp.amxx running
[ 21] Advertising Manager 1.0 Javekson advertising_man running
[ 22] AntiFlood Change Name 28.11.2018 sergrib antiflood_chang running
[ 23] AFK Control ReNew 1.3 neygomon afk_control.amx running
[ 24] Auto Team Balance Adva 1.5.1 Radius auto_team_balan running
[ 25] [ReAPI] AWPoff 1.4.3 PAffAEJIkA :3 awp_off.amxx running
[ 26] Steam Bonus 1.12 neygomon bonus_steam.amx running
[ 27] Custom Smoke 1.09 bionext custom_smoke.am running
[ 28] C4 Timer on roundtime 0.3.3a neygomon c4timer.am running
[ 29] [ReAPI] KiLL Assist 1.0 PRoSToTeM@ kill_assist_rea running
[ 30] Lite Recoder 1.0.1 neygomon lite_recoder.am running
[ 31] Lite VoteBan 1.4 neygomon lite_voteban.am running
[ 32] [ReAPI] No Team Flash 0.0.3 Vaqtincha no_team_flash.a running
[ 33] Mode 2x2 2.5re s1lent mode.amxx running
[ 34] [ReAPI] Parachute 1.1 ReHLDS Team parachute.amxx running
[ 35] Ping Control 1.31f neygomon+wopox ping_control.am running
[ 36] Kills Like CS Online 1.0 fl0wer kills_like_cso. running
[ 37] [ReAPI] Block 'Fire in 0.0.1 sergrib reapi_block_FIT running
[ 38] [ReAPI] Slay Loosers 1.1 neugomon reapi_slayloose running
[ 39] Reset Score 0.0.2f wopox1337 ResetScore.amxx running
[ 40] Server Menu 1.5.0 F@nt0M server_menu.amx debug
[ 41] Take Damage 1.0 Javekson take_damage.amx running
[ 42] TOP VIP (Auto Set) 2.0 Leo_[BH] & maFFy top_vip.amxx running
[ 43] [ReAPI] Random Weapons 2.4.9+1 neugomon/h1k3 warmup.amxx running
[ 44] Chat Manager 1.1.2-16 Mistrick chatmanager.amx debug
[ 45] [UAC] Core 0.1.46 GM-X Team uac_core.amxx running
[ 46] [UAC] GM-X Loader 0.1.46 GM-X Team uac_gmx_loader. running
[ 47] [UAC] Logger 0.1.46 GM-X Team uac_logger.amxx running
[ 48] [UAC] Commands 0.1.46 GM-X Team uac_commands.am running
[ 49] GMX Core 0.1.67 GM-X Team gmx.amxx running
[ 50] GMX Cache 0.1.67 GM-X Team gmx_cache.amxx running
[ 51] GMX Access 0.1.67 GM-X Team gmx_access.amxx running
[ 52] Map Manager: Core 3.0.7 Mistrick map_manager_cor running
[ 53] Map Manager: Scheduler 0.1.5 Mistrick map_manager_sch running
[ 54] Map Manager: Rtv 0.1.1 Mistrick map_manager_rtv running
[ 55] Map Manager: Nominatio 0.1.2 Mistrick map_manager_nom running
[ 56] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 57] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 58] Map Manager: Effects 0.0.9 Mistrick map_manager_eff running
[ 59] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 60] [ReVIP] System Core 2.5 full pUzzlik re_vip_core.amx running
[ 61] [ReVIP] Menu 2.5 full pUzzlik re_vip_menu.amx running
[ 62] [ReAPI] Connected Info 2.5 full pUzzlik re_vip_connect_ debug
[ 63] [ReVIP] Tab Info 2.5 full pUzzlik re_vip_tab_info running
[ 64] [ReVIP] Custom Shop 2.5 full pUzzlik re_vip_shop.amx running
[ 65] [ReVIP] Custom AK-47 2.5 full pUzzlik re_vip_custom_a running
[ 66] [ReVIP] Custom M4A1 2.5 full pUzzlik re_vip_custom_m running
[ 67] [ReVIP] Custom AWP 2.5 full pUzzlik re_vip_custom_a running
[ 68] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 69] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 70] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 71] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 72] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 73] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
73 plugins, 73 running
- Автор плагина
- neygomon
- Версия плагина
- 0.3.3a
- Исходный код
-
#include <amxmodx>
//#define STATUSICON
/*
Иконка бомбы будет красным цветом около иконки закупа, дефузов и тд.
Если закомментировать, то около таймера раунда.
*/
new g_szIcons[][] = { "bombticking", "bombticking1" };
new g_mShowTimer, g_mRoundTime;
#if defined STATUSICON
new g_mStatusIcon;
#else
new g_mScenario;
#endif
new g_pcvTimer, g_iTimer;
new bool:g_bRoundEnd;
public plugin_init()
{
register_plugin("C4 Timer on roundtime", "0.3.3a", "neygomon");
register_event("HLTV", "eventRoundStart", "a", "1=0", "2=0");
register_logevent("eventRoundEnd", 2, "1=Round_End");
register_event("BombDrop", "eventBombPlanted", "a", "4=1");
g_mShowTimer= get_user_msgid("ShowTimer");
g_mRoundTime= get_user_msgid("RoundTime");
#if defined STATUSICON
g_mStatusIcon= get_user_msgid("StatusIcon");
#else
g_mScenario = get_user_msgid("Scenario");
#endif
g_pcvTimer = get_cvar_pointer("mp_c4timer");
g_iTimer = get_pcvar_num(g_pcvTimer);
}
public eventRoundStart()
{
g_iTimer = get_pcvar_num(g_pcvTimer);
g_bRoundEnd = false;
}
public eventRoundEnd()
g_bRoundEnd = true;
public eventBombPlanted()
{
if(g_iTimer)
{
if(!g_bRoundEnd)
set_task(1.0, "ShowTimer");
}
else log_error(AMX_ERR_NATIVE, "cvar mp_c4timer not read!");
}
public ShowTimer()
{
message_begin(MSG_BROADCAST, g_mShowTimer);
message_end();
message_begin(MSG_BROADCAST, g_mRoundTime);
write_short(g_iTimer);
message_end();
static icon; icon = !icon;
#if defined STATUSICON
new pl[32], pnum;
get_players(pl, pnum, "ac");
for(new i; i < pnum; i++)
{
message_begin(MSG_ONE, g_mStatusIcon, .player = pl[i]);
write_byte(2);
write_string(g_szIcons[icon]);
write_byte(0);
write_byte(160);
write_byte(0);
message_end();
}
#else
message_begin(MSG_BROADCAST, g_mScenario);
write_byte(1);
write_string(g_szIcons[icon]);
write_byte(150);
write_short(20);
message_end();
#endif
}
не давно заметил что После взрыва бомбы перешел в спектора, иконка осталась гореть даже после начала следующего раунда. думаю баг не критичный но все же раздражает приложу исходник
23 Май 2020
Вложения
-
2 KB Просмотры: 252