mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-02-05 18:20:33 +03:00
Fix for CVars mp_scoreboard_showhealth/mp_scoreboard_showmoney
This commit is contained in:
parent
41d75f9f2c
commit
23172c0855
@ -7295,7 +7295,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(UpdateClientData)()
|
|||||||
#endif // REGAMEDLL_FIXES
|
#endif // REGAMEDLL_FIXES
|
||||||
|
|
||||||
#ifdef REGAMEDLL_FIXES
|
#ifdef REGAMEDLL_FIXES
|
||||||
if (scoreboard_showmoney.value != -1.0f)
|
if (scoreboard_showhealth.value != -1.0f)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
MESSAGE_BEGIN(MSG_ONE, gmsgHealthInfo, nullptr, pPlayer->edict());
|
MESSAGE_BEGIN(MSG_ONE, gmsgHealthInfo, nullptr, pPlayer->edict());
|
||||||
@ -7305,7 +7305,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(UpdateClientData)()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef REGAMEDLL_FIXES
|
#ifdef REGAMEDLL_FIXES
|
||||||
if (scoreboard_showhealth.value != -1.0f)
|
if (scoreboard_showmoney.value != -1.0f)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
MESSAGE_BEGIN(MSG_ONE, gmsgAccount, nullptr, pPlayer->edict());
|
MESSAGE_BEGIN(MSG_ONE, gmsgAccount, nullptr, pPlayer->edict());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user