[TTT] Player Info/Role Counter
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«[TTT] Player Info/Role Counter» — материал мастерской Garry’s Mod. Аддоны, карты, персонажи и инструменты для песочницы. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Not everyone knows your Server Config, so you need something that tells all players how many traitors, detective and innocents are there in the current round.
NOTE: This Addon only works for the "Trouble in Terrorist Town" - Gamemode.
Features
This addon posts on every round start how many players have which role. When a player leaves or forces himself to spectator, it posts his role in the chat and whether the player was dead or alive. It should even work with items like (https://steamcommunity.com/sharedfiles/filedetails/?id=422006754), which change the role of a player.
If you type "!roles", "roles" or "/roles" in the chat, you get the current role distribution. Note: The addon has built-in spam protection, so you can't spam the commands, as well as other people won't see the message you get.
Server Infos
Add it to your server by following this guide: Workshop for Dedicated Servers
Note: You may encounter the following console message, which can be ignored: "Refusing to load ttt_role_counter because it is missing Type and Base keys!"
Source
The whole source code can be found on GitHub, feel free to contribute.
Thanks for reading, enjoy and have fun!
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.