Skip to content

Commit

Permalink
Added team sync convar to F1 Menu (#27)
Browse files Browse the repository at this point in the history
Somehow forgott this convar in the last PR.. So now here it is
  • Loading branch information
NickCloudAT authored Oct 9, 2021
1 parent f926a1d commit a886bfa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/terrortown/lang/de/tttc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ L["label_tttc_classes_option"] = "Können Spieler zwischen 2 Klassen wählen?"
L["label_tttc_classes_extraslot"] = "Sollen Klassen Waffen auf einen Extra Waffenplatz kommen?"
L["label_tttc_classes_respawn_keep"] = "Sollen Spieler ihre Klassen beim neu spawnen behalten?"
L["label_tttc_classes_popup"] = "Aktiviere Klassen Popup"
L["label_tttc_classes_teamsync"] = "Sollen Klassen zu Teammates synchronisiert werden?"
L["label_tttc_classes_different"] = "Wie viele verschiedene Klassen sollen aktiviert sein?"

L["help_addons_tttc"] = "Einstellungen für TTTC"
1 change: 1 addition & 0 deletions lua/terrortown/lang/en/tttc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ L["label_tttc_classes_option"] = "Can Players choose between 2 Classes?"
L["label_tttc_classes_extraslot"] = "Should Class Weapons be put on an extra slot?"
L["label_tttc_classes_respawn_keep"] = "Should Players keep their Classes on respawn?"
L["label_tttc_classes_popup"] = "Enable Class Popup"
L["label_tttc_classes_teamsync"] = "Should Classes be synced to Teammates?"
L["label_tttc_classes_different"] = "How many different classes should be available?"

L["help_addons_tttc"] = "Settings for TTTC"
1 change: 1 addition & 0 deletions lua/terrortown/lang/ru/tttc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ L["ttt2_tttc_class_desc_not_provided"] = "Описание класса не п
--L["label_tttc_classes_extraslot"] = "Should Class Weapons be put on an extra slot?"
--L["label_tttc_classes_respawn_keep"] = "Should Players keep their Classes on respawn?"
--L["label_tttc_classes_popup"] = "Enable Class Popup"
--L["label_tttc_classes_teamsync"] = "Should classes be synced to Teammates?"
--L["label_tttc_classes_different"] = "How many different classes should be available?"

--L["help_addons_tttc"] = "Settings for TTTC"
5 changes: 5 additions & 0 deletions lua/terrortown/menus/gamemode/server_addons/tttc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ function CLGAMEMODESUBMENU:Populate(parent)
serverConvar = "ttt_classes_show_popup"
})

form:MakeCheckBox({
label = "label_tttc_classes_teamsync",
serverConvar = "ttt_classes_sync_team"
})

form:MakeSlider({
label = "label_tttc_classes_different",
serverConvar = "ttt_classes_different",
Expand Down

0 comments on commit a886bfa

Please sign in to comment.