mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add "gamestochat" cvar to Server Options
This commit is contained in:
parent
ede77dbbd1
commit
ed243910be
2 changed files with 4 additions and 1 deletions
|
|
@ -1331,7 +1331,7 @@ consvar_t cv_chatwidth = Player("chatwidth", "150").min_max(64, 150);
|
|||
// old shit console chat. (mostly exists for stuff like terminal, not because I cared if anyone liked the old chat.)
|
||||
consvar_t cv_consolechat = Player("chatmode", "Yes").values({{0, "Yes"}, {2, "No"}});
|
||||
|
||||
consvar_t cv_gamestochat = Player("gamestochat", "0").values(CV_Unsigned);
|
||||
consvar_t cv_gamestochat = Player("gamestochat", "0").min_max(0, 99);
|
||||
|
||||
void Mute_OnChange(void);
|
||||
consvar_t cv_mute = UnsavedNetVar("mute", "Off").on_off().onchange(Mute_OnChange);
|
||||
|
|
|
|||
|
|
@ -71,6 +71,9 @@ menuitem_t OPTIONS_Server[] =
|
|||
{IT_STRING | IT_CVAR, "Pause Permissions", "Who is allowed to pause the game?",
|
||||
NULL, {.cvar = &cv_pause}, 0, 0},
|
||||
|
||||
{IT_STRING | IT_CVAR, "Rounds Needed To Chat", "How many rounds players must complete before they can chat. Good vs. ban evaders.",
|
||||
NULL, {.cvar = &cv_gamestochat}, 0, 0},
|
||||
|
||||
|
||||
{IT_HEADER, "Chat...", NULL,
|
||||
NULL, {NULL}, 0, 0},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue