- Ошибка
-
Отсчет времени прыгает через две секунды (35,33,31...)
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5260 (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
Compiled: Oct 21 2019 02:51:29
Built from: https://github.com/alliedmodders/amxmodx/commit/9ca3a68
Build ID: 5260:9ca3a68
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.692-dev
Build date: 17:52:38 Sep 30 2019 (1997)
Build from: https://github.com/dreamstalker/rehlds/commit/e7232be
- ReGamedll
-
ReGameDLL version: 5.11.0.420-dev+m
Build date: 12:57:16 Oct 9 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/4996564
- Версия Metamod
-
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EET (optimized)
- Список метамодулей
-
[ 1] Reunion RUN - reunion_mm_i386. v0.1.0.9 ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 3] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 5] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 6] WHBlocker RUN - whblocker_mm_i38 v1.5.696 ini Chlvl ANY
[ 7] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 8] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 9] ReSRDetector RUN - resrdetector_mm_ v0.1.0 ini Chlvl ANY
[10] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl4 ANY ANY
[11] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl4 ANY ANY
[12] ReAimDetector RUN - reaimdetector_am v0.2.2 pl4 ANY Never
[13] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl4 ANY ANY
[14] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl4 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386. v5.10.0. pl4 ANY Never
[16] Engine RUN - engine_amxx_i386 v1.9.0.5 pl4 ANY ANY
[17] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl4 ANY ANY
[18] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl4 ANY ANY
18 plugins, 18 running
- Список плагинов
-
[ 1] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 2] fb_forwards 0.1.4 Kanagava & Realu fb_forwards.amx running
[ 3] FreshBans 1.3.8b kanagava fresh_bans_138_ running
[ 4] Ultimate Chats Control 5.2(c) neygomon ucc.amxx running
[ 5] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 6] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 7] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 8] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 9] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 10] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 11] Dead Chat w/ Admin PA 2.0 SuicideDog deadchat.amxx running
[ 12] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 13] Admin Loader 3.5 neygomon admin_loader.am running
[ 14] Lite Recoder 1.0.1 neygomon amx_demorec_3.a running
[ 15] Block Advert 1.4 neygomon block_advert.am running
[ 16] Admin Votes 1.9.0.5260 AMXX Dev Team adminvote.amxx running
[ 17] Menus Front-End 1.4 neugomon menufront_end.a running
[ 18] Players Menu 1.7 neugomon players_menu.am running
[ 19] Maps Menu 1.9.0.5260 AMXX Dev Team mapsmenu.amxx running
[ 20] Admin Chat 1.9.0.5260 AMXX Dev Team adminchat.amxx running
[ 21] Stats Configuration 1.9.0.5260 AMXX Dev Team statscfg.amxx running
[ 22] Restrict Weapons 1.9.0.5260 AMXX Dev Team restmenu.amxx running
[ 23] StatsX 1.9.0.5260 AMXX Dev Team statsx.amxx running
[ 24] Amx Change Name 1.0 neygomon amx_namechanger running
[ 25] Lite Admin ESP 1.0 neygomon admin_esp.amxx running
[ 26] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 27] [ReAPI] AWPoff 1.3 PAffAEJIkA :3 awp_off.amxx running
[ 28] Bomb Countdown HUD Tim 0.2 SAMURAI bcd_hudtimer.am running
[ 29] [ReAPI] Best player of 1.1.2 F@nt0M best_player_of_ running
[ 30] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 31] Custom Smoke 1.06 bionext custom_smoke.am running
[ 32] Flashbang Ban 0.2 mx?! flashbang_ban.a running
[ 33] [reAPI] Flash Control 1.1 neugomon flash_control.a running
[ 34] Kills Counter 0.3 serfreeman1337 kills_counter.a running
[ 35] KiLL Assist poka_4to_b PRoSToTeM@ Kill_assist_rea running
[ 36] Ping Checker 26.0.1 RC1 h1k3 ping_checker.am running
[ 37] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 38] Slay Losers 1.1.6 [email protected] slay_losers.amx running
[ 39] Steal the Bomb 3.2 VEN/Satan StealtheBomb.am running
[ 40] [ReAPI] VIP System 1.3.1 pUzzlik re_vip_system.a running
[ 41] Chat Manager 1.1.2-16 Mistrick chatmanager.amx running
[ 42] Map Manager: Core 3.0.4 Mistrick map_manager_cor running
[ 43] Map Manager: Scheduler 0.1.2 Mistrick map_manager_sch running
[ 44] Map Manager: Rtv 0.1.0 Mistrick map_manager_rtv running
[ 45] Map Manager: Nominatio 0.1.0 Mistrick map_manager_nom running
[ 46] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 47] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 48] Map Manager: Effects 0.0.8 Mistrick map_manager_eff running
[ 49] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 50] Map Manager: Advanced 0.0.5 Mistrick map_manager_adv running
50 plugins, 50 running
- Автор плагина
- SAMURAI
- Версия плагина
- 0.2
- Исходный код
-
#include <amxmodx>
#include <csx>
#define PLUGIN "Bomb Countdown HUD Timer"
#define VERSION "0.2"
#define AUTHOR "SAMURAI"
new g_c4timer, pointnum;
new bool:b_planted = false;
new g_msgsync;
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR);
pointnum = get_cvar_pointer("mp_c4timer");
register_logevent("newRound", 2, "1=Round_Start");
register_logevent("endRound", 2, "1=Round_End");
register_logevent("endRound", 2, "1&Restart_Round_");
g_msgsync = CreateHudSyncObj();
}
public newRound()
{
g_c4timer = -1;
remove_task(652450);
b_planted = false;
}
public endRound()
{
g_c4timer = -1;
remove_task(652450);
}
public bomb_planted()
{
b_planted = true;
g_c4timer = get_pcvar_num(pointnum);
dispTime()
set_task(1.0, "dispTime", 652450, "", 0, "b");
}
public bomb_defused()
{
if(b_planted)
{
remove_task(652450);
b_planted = false;
}
}
public bomb_explode()
{
if(b_planted)
{
remove_task(652450);
b_planted = false;
}
}
public dispTime()
{
if(!b_planted)
{
remove_task(652450);
return;
}
if(g_c4timer >= 0)
{
if(g_c4timer > 13) set_hudmessage(0, 255, 255, -1.0, 0.80, 0, 1.0, 1.0, 0.01, 0.01, -1);
else if(g_c4timer > 7) set_hudmessage(150, 150, 0, -1.0, 0.80, 0, 1.0, 1.0, 0.01, 0.01, -1);
else set_hudmessage(150, 0, 0, -1.0, 0.80, 0, 1.0, 1.0, 0.01, 0.01, -1);
ShowSyncHudMsg(0, g_msgsync, "Бомба взорвется через: %d", g_c4timer);
--g_c4timer;
}
}
Отсчет времени работал правильно до перехода на Amx Mod X 1.9.0 5260
В этой теме было размещено решение! Перейти к решению.