- Ошибка
-
Не показывает хп
- ОС
- Windows
- Amx Mod X
-
AMX Mod X 1.9.0.5263 (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 27 2019 16:23:56
Built from: https://github.com/alliedmodders/amxmodx/commit/15a14a0a
Build ID: 5263:15a14a0a
Core mode: JIT+ASM32
- Билд
-
Protocol version 48
Exe version 1.6.3.7 (cstrikee)
Exe build: 10:44:50 Aug 28 2012 (5758)
- ReGamedll
-
-
- Версия Metamod
-
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 15:47:38 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
- Список метамодулей
-
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.9.0.5263 ini Start ANY
[ 2] POD-Bot mm RUN - podbot_mm.dll v3.0B18c ini Chlvl ANY
[ 3] dproto_EF RUN - dproto.dll v0.9.548 ini Start Never
[ 4] ReAPI RUN - reapi_amxx.dll v5.1.0.112-dev ini ANY Never
[ 5] MySQL RUN - mysql_amxx.dll v1.9.0.5263 pl1 ANY ANY
[ 6] SQLite RUN - sqlite_amxx.dll v1.9.0.5263 pl1 ANY ANY
[ 7] Fun RUN - fun_amxx.dll v1.9.0.5263 pl1 ANY ANY
[ 8] Engine RUN - engine_amxx.dll v1.9.0.5263 pl1 ANY ANY
[ 9] FakeMeta RUN - fakemeta_amxx.dll v1.9.0.5263 pl1 ANY ANY
[10] GeoIP RUN - geoip_amxx.dll v1.9.0.5263 pl1 ANY ANY
[11] CStrike RUN - cstrike_amxx.dll v1.9.0.5263 pl1 ANY ANY
[12] CSX RUN - csx_amxx.dll v1.9.0.5263 pl1 ANY ANY
[13] hackdetector RUN - hackdetector_amxx.dll v0.15.222.lite pl1 ANY ANY
[14] Ham Sandwich RUN - hamsandwich_amxx.dll v1.9.0.5263 pl1 ANY ANY
14 plugins, 14 running
- Список плагинов
-
[ 1] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 2] Admin Base 1.8.1.3746 AMXX Dev Team admin.amxx running
[ 3] Admin Chat 1.8.1.3746 AMXX Dev Team adminchat.amxx running
[ 4] Admin Commands 1.8.1.3746 AMXX Dev Team admincmd.amxx running
[ 5] Admin Help 1.8.1.3746 AMXX Dev Team adminhelp.amxx running
[ 6] Slots Reservation 1.8.1.3746 AMXX Dev Team adminslots.amxx running
[ 7] Admin Votes 1.8.1.3746 AMXX Dev Team adminvote.amxx running
[ 8] Auto recording demo 2.0 IzI | Bonaqua (R amx_autodemorec running
[ 9] Commands Menu 1.8.1.3746 AMXX Dev Team cmdmenu.amxx running
[ 10] Nextmap Chooser 1.8.1.3746 AMXX Dev Team mapchooser.amxx stopped
[ 11] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 12] AmxModMenu 1.2 Sn1kO{Dmitriy.T) menufront.amxx running
[ 13] Multi-Lingual System 1.8.1.3746 AMXX Dev Team multilingual.am running
[ 14] mute menu 1.0 cheap_suit Mute_Menu.amxx running
[ 15] NextMap 1.8.1.3746 AMXX Dev Team nextmap.amxx stopped
[ 16] No Fall Damage 1.0 Dorus no_fall_damage. running
[ 17] Pause Plugins 1.8.1.3746 AMXX Dev Team pausecfg.amxx running
[ 18] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 19] Plugin Menu 1.8.1.3746 AMXX Dev Team pluginmenu.amxx running
[ 20] Scrolling Message 1.8.1.3746 AMXX Dev Team scrollmsg.amxx running
[ 21] StatsX (MastaMan Editi 1.8.1.3746 AMXX Dev Team & statsx_shell.am running
[ 22] Weapons Clip 0.3.0 Remod by NextPaw weapons_clip.am running
[ 23] Camera Changer 1.3 Bl0ck Camera_Changer. running
[ 24] Reset Score 1.0 Silenttt resetscore.amxx running
[ 25] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 26] Spec Switch 0.0.3 many spec_switch_new running
[ 27] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 28] Map Manager: Sub Plugi 0.1 Mistrick mapmanager_subp running
[ 29] Lite Translit 2.8 neygomon lite_translit.a running
[ 30] Unlimited Bpammo 1.0 hlds.us bio_clip.amxx running
[ 31] Juicy Corpse 0.4 VEN bio_corpse.amxx running
[ 32] HATS 0.2 SgtBane bio_hats.amxx running
[ 33] Custom Knife Distance 1.0 ill bio_knife_dista running
[ 34] knockback 0.3 cheap_suit bio_knockback.a running
[ 35] menu server 1.0 XZ bio_menuservera running
[ 36] money 1.0 leksys bio_money.amxx running
[ 37] VIP Bio 1.0 ill bio_vipmenu.amx running
[ 38] Biohazard 2.00 Beta cheap_suit biohazard.amxx running
[ 39] BIOKnife 1.0 ViniPux bioknife.amxx running
[ 40] Damager 2.0 XSik bio_damager.amx running
[ 41] Napalm Nades for Bio 1.3a MeRcyLeZZ bio_napalm_nade running
41 plugins, 39 running
- Автор плагина
- Cheap_Suit
- Версия плагина
- 2.00 Beta 3
- Исходный код
-
public task_showtruehealth()
{
set_hudmessage(50, 100, 0, -1.0, 0.9, _, 0.2, 0.2)
static id, Float:health
for(id = 1; id <= g_maxplayers; id++) if(is_user_alive(id) && !is_user_bot(id) && g_zombie[id])
{
pev(id, pev_health, health)
if(g_zombie[id])
ShowSyncHudMsg(id, g_sync_hpdisplay, "HP: %0.f", health)
else
if(is_user_alive(id))
ShowSyncHudMsg(id, g_sync_hpdisplay, "HP: %0.f", health)
}
}
public task_initround()
{
static zombiecount, newzombie
zombiecount = 0
newzombie = 0
static players[32], num, i, id
get_players(players, num, "a")
for(i = 0; i < num; i++) if(g_preinfect[players[i]])
{
newzombie = players[i]
zombiecount++
}
if(zombiecount > 1)
newzombie = 0
else if(zombiecount < 1)
newzombie = players[_random(num)]
for(i = 0; i < num; i++)
{
id = players[i]
if(id == newzombie || g_preinfect[id])
infect_user(id, 0)
else
{
fm_set_user_team(id, CS_TEAM_CT, 0)
add_delay(id, "update_team")
}
}
set_hudmessage(_, _, _, _, _, 1)
if(newzombie)
{
static name[32]
get_user_name(newzombie, name, 31)
ShowSyncHudMsg(0, g_sync_msgdisplay, "%L", LANG_PLAYER, "INFECTED_HUD", name)
//client_print(0, print_chat, "%L", LANG_PLAYER, "INFECTED_TXT", name)
}
/* - - - -
else
{
ShowSyncHudMsg(0, g_sync_msgdisplay, "%L", LANG_PLAYER, "INFECTED_HUD2")
//client_print(0, print_chat, "%L", LANG_PLAYER, "INFECTED_TXT2")
}
- - - - - */
set_task(0.51, "task_startround", TASKID_STARTROUND)
}
Не показывает хп - показывает кто заражен.
Показывает хп - не показывает кто заражен.
Показывает хп - не показывает кто заражен.
В этой теме было размещено решение! Перейти к решению.