- Ошибка
-
Не отображается HUD на сервере
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5249 (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: Jun 19 2019 13:31:53
Built from: https://github.com/alliedmodders/amxmodx/commit/6cecb34
Build ID: 5249:6cecb34
Core mode: JIT+ASM32
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.685-dev
Build date: 16:27:16 Aug 11 2019 (1947)
Build from: https://github.com/dreamstalker/rehlds/commit/5b68568
- ReGamedll
-
ReGameDLL version: 5.9.0.387-dev
Build date: 08:29:22 Aug 26 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/371ac89
- Версия 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] Reunion RUN - reunion_mm_i386.so v0.1.0.133 ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5249 ini Start ANY
[ 5] Revoice RUN - revoice_mm_i386.so v0.1.0.32 ini Start Never
[ 6] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 7] MySQL RUN - mysql_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
[ 8] ReAPI RUN - reapi_amxx_i386.so v5.9.0.178-dev pl4 ANY Never
[ 9] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
[10] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
[11] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
[12] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl4 ANY ANY
[13] ReCSDM RUN - csdm_amxx_i386.so v3.6 pl4 ANY ANY
[14] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
[15] Fun RUN - fun_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
[16] Engine RUN - engine_amxx_i386.so v1.9.0.5249 pl4 ANY ANY
16 plugins, 16 running
- Список плагинов
-
дальше не показываются
[ 13] Anti Flood 1.9.0.5249 AMXX Dev Team antiflood.amxx running
[ 14] Scrolling Message 1.9.0.5249 AMXX Dev Team scrollmsg.amxx running
[ 15] Info. Messages 1.9.0.5249 AMXX Dev Team imessage.amxx running
[ 16] Admin Votes 1.9.0.5249 AMXX Dev Team adminvote.amxx running
[ 17] NextMap 1.9.0.5249 AMXX Dev Team nextmap.amxx running
[ 18] Nextmap Chooser 1.9.0.5249 AMXX Dev Team mapchooser.amxx running
[ 19] TimeLeft 1.9.0.5249 AMXX Dev Team timeleft.amxx running
[ 20] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 21] Micro Army Rank System 1.29Hz_p1 Ge3eR mars.amxx running
[ 22] Pause Plugins 1.9.0.5249 AMXX Dev Team pausecfg.amxx running
[ 23] Stats Configuration 1.9.0.5249 AMXX Dev Team statscfg.amxx running
[ 24] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 25] FrostNades 0.12b Avalanche frostnades.amxx running
[ 26] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 27] Reset Score and Sound 1.0 FarCher NewResetScore.a running
[ 28] Demo Recorder 1.6 Sho0ter demorecorder.am running
[ 29] Time Lights 1.1 Leo_[BH] time_light.amxx running
[ 30] Connect Info 1.0 Hypa_[KZ] connect_info.am running
[ 31] $ Bullet Damage Money Leo_[BH] 1.0 bullet_dmg_$.am running
[ 32] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 33] Simple Grenade Trail 1.0 seroff granade_trail.a running
[ 34] unknown unknown unknown ExCLuSiVe_CSDM. running
[ 35] Descriptive 'Fire in t 0.1 VEN gren_chat.amxx running
[ 36] Advanced Kill Assists 0.9 Spection next21_kill_ass running
[ 37] RockTheVote 1.8 DA rockthevote_cus running
[ 38] Show Damage 1.0 neygomon damager.amxx running
[ 39] AntiFlash FINAL 5.0 Leo_[BH] antiflash5.amxx running
[ 40] Screen Fade [True Flas 1.0 Leo_[BH] screen_fade_fla running
[ 41] Parachute 1.1 Random1, 93()|29 sub_parachute.a running
[ 42] Online Helper 2.1.3 Nordic Warrior online_helper.a running
[ 43] Voteban CSR 0.8.5beta Leo_[BH] csr_voteban.amx running
[ 44] BazookaAdvanced 1.3 vk.com/anony90 CSSBbazooka.amx running
[ 45] Gold VIP Menu 1.0 Leo_[BH] vip_gold_menu.a running
[ 46] Knife Mode 1.0 Exodus Dex_Knive.amxx running
[ 47] [ZP] Weapon: Smguns 1.0 LARS-DAY[BR]EAKE cso_weapons.amx running
[ 48] Menu 1.0 yaT_1 menu.amxx running
[ 49] unknown unknown unknown espadaserver_mi running
[ 50] say /st 2.0 depo newstats.amxx running
[ 51] Ping Checker 26.0.1 RC1 h1k3 ping_checker.am running
[ 52] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 53] say /pw 2.0 {DePo} newpw.amxx running
[ 54] Hud_info 2.1 h1k3 hud_info.amxx running
[ 55] Admin\VIP\Girl Online 0.4.4 Dev-cs.ru Modifi admin_vip_onlin running
[ 56] ReCSDM Main 3.6 ReCSDM Team csdm_main.amxx running
[ 57] ReCSDM Equip 3.6 ReCSDM Team csdm_equip.amxx running
[ 58] ReCSDM Spawns 3.6 ReCSDM Team csdm_spawn_pres running
[ 59] ReCSDM Misc 3.6 ReCSDM Team csdm_misc.amxx running
[ 60] ReCSDM Stripper 3.6 KWo csdm_stripper.a running
[ 61] ReCSDM Protection 3.6 BAILOPAN csdm_protection running
61 plugins, 61 running
- Автор плагина
- нет
- Версия плагина
- нет
- Исходный код
-
#include <amxmodx>
#define ADMIN ADMIN_BAN // Флаг для проверки "Админы Онлайн"
#define GIRL ADMIN_LEVEL_G // Флаг для проверки "Девушки Онлайн"
#define VIP ADMIN_LEVEL_A // Флаг для проверки "Випы Онлайн"
#define TASK_ID 19867
enum _:ONLINE {
GIRLS,
ADMINS,
VIPS
}
new g_Online[ONLINE];
new g_SyncHud_A,g_SyncHud_G,g_SyncHud_V;
public plugin_init()
{
register_plugin("Hud_info", "2.1", "h1k3")
register_dictionary("hud_info.txt");
register_event("DeathMsg", "hook_death", "a", "1>0");
register_event("TeamInfo", "hook_team_info", "a");
g_SyncHud_A = CreateHudSyncObj();
g_SyncHud_G = CreateHudSyncObj();
g_SyncHud_V = CreateHudSyncObj();
arrayset(g_Online, 0, sizeof g_Online);
}
public client_putinserver(id) {
if (get_user_flags(id) & GIRL) {
g_Online[GIRLS]++;
}
if (get_user_flags(id) & ADMIN) {
g_Online[ADMINS]++;
}
if (get_user_flags(id) & VIP) {
g_Online[VIPS]++;
}
}
public client_disconnected(id) {
if (get_user_flags(id) & GIRL) {
g_Online[GIRLS]--;
}
if (get_user_flags(id) & ADMIN) {
g_Online[ADMINS]--;
}
if (get_user_flags(id) & VIP) {
g_Online[VIPS]--;
}
}
public hook_death() {
new id = read_data(2);
set_task(1.0, "task_hud", id + TASK_ID, .flags="b");
}
public hook_team_info() {
new id = read_data(1);
new team[2];
read_data(2, team, charsmax(team));
if (team[0] == 'S' && !task_exists(id + TASK_ID)) {
set_task(1.0, "task_hud", id + TASK_ID, .flags="b");
}
}
public task_hud(taskID) {
new id = taskID - TASK_ID;
if (!is_user_alive(id)) {
set_hudmessage(0, 255, 0, 0.22, 0.03, 0, 6.0, 5.0, 0.08, 2.0);
ShowSyncHudMsg(id, g_SyncHud_A, "%L %d", id, "ADMINS", g_Online[ADMINS]);
set_hudmessage(0, 0, 255, 0.22, 0.06, 0, 6.0, 5.0, 0.08, 2.0);
ShowSyncHudMsg(id, g_SyncHud_V, "%L %d", id, "VIPS", g_Online[VIPS]);
set_hudmessage(255, 255, 255, 0.22, 0.09, 0, 6.0, 5.0, 0.08, 2.0);
ShowSyncHudMsg(id, g_SyncHud_G, "%L %d", id, "GIRLS", g_Online[GIRLS]);
} else {
remove_task(taskID);
}
}
Помогите решить проблему не отображается HUD на сервере может есть какие запреты или ограничения? В заранее спасибо!