mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-26 14:45:38 +03:00
parent
aa7102c277
commit
cc679f393f
@ -43,7 +43,7 @@ Archive's bin directory contains 2 subdirectories, 'bugfixed' and 'pure'
|
||||
| mp_hostage_hurtable | 1 | 0 | 1 | The hostages can take damage.<br/>`0` disabled<br/>`1` from any team<br/>`2` only from `CT`<br/>`3` only from `T` |
|
||||
| mp_show_radioicon | 1 | 0 | 1 | Show radio icon.<br/>`0` disabled<br/>`1` enabled |
|
||||
| showtriggers | 0 | 0 | 1 | Debug cvar shows triggers. |
|
||||
| sv_alltalk | 0 | 0 | 3 | When players can hear each other ([further explanation](../../wiki/sv_alltalk)).<br/>`0` dead don't hear alive<br/>`1` no restrictions<br/>`2` teammates hear each other<br/>`3` Same as 2, but spectators hear everybody
|
||||
| sv_alltalk | 0 | 0 | 4 | When players can hear each other ([further explanation](../../wiki/sv_alltalk)).<br/>`0` dead don't hear alive<br/>`1` no restrictions<br/>`2` teammates hear each other<br/>`3` Same as 2, but spectators hear everybody<br/>`4` alive hear alive, dead hear dead and alive.
|
||||
| bot_deathmatch | 0 | 0 | 1 | Set's the mode for the zBot.<br/>`0` disabled<br/>`1` enable mode Deathmatch and not allow to do the scenario |
|
||||
| bot_quota_mode | normal | - | - | Determines the type of quota.<br/>`normal` default behaviour<br/>`fill` the server will adjust bots to keep `N` players in the game, where `N` is bot_quota |
|
||||
|
||||
|
1
dist/game.cfg
vendored
1
dist/game.cfg
vendored
@ -163,6 +163,7 @@ showtriggers 0
|
||||
// 1 - no restrictions
|
||||
// 2 - teammates hear each other
|
||||
// 3 - same as 2, but spectators hear everybody
|
||||
// 4 - alive hear alive, dead hear dead and alive.
|
||||
//
|
||||
// Default value: "0"
|
||||
sv_alltalk 0
|
||||
|
@ -94,6 +94,8 @@ bool CCStrikeGameMgrHelper::CanPlayerHearPlayer(CBasePlayer *pListener, CBasePla
|
||||
return (pListener->m_iTeam == pSender->m_iTeam);
|
||||
case 3:
|
||||
return (pListener->m_iTeam == pSender->m_iTeam || pListener->IsObserver());
|
||||
case 4:
|
||||
return (pListener->IsAlive() == pSender->IsAlive() || pSender->IsAlive());
|
||||
default: // HLDS Behavior
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user