mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Implement sv_alltalk 5
This commit is contained in:
parent
8995b9dc77
commit
5b7159e8de
@ -107,6 +107,8 @@ bool CCStrikeGameMgrHelper::__API_HOOK(CanPlayerHearPlayer)(CBasePlayer *pListen
|
|||||||
return (pListener->m_iTeam == pSender->m_iTeam || pListener->m_iTeam == SPECTATOR || pListener->m_iTeam == UNASSIGNED);
|
return (pListener->m_iTeam == pSender->m_iTeam || pListener->m_iTeam == SPECTATOR || pListener->m_iTeam == UNASSIGNED);
|
||||||
case 4:
|
case 4:
|
||||||
return (pListener->IsAlive() == pSender->IsAlive() || pSender->IsAlive());
|
return (pListener->IsAlive() == pSender->IsAlive() || pSender->IsAlive());
|
||||||
|
case 5:
|
||||||
|
return ((pListener->IsAlive() == pSender->IsAlive() && pListener->m_iTeam == pSender->m_iTeam) || !pListener->IsAlive());
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user