Garry's Mod
Оценок: 136
[TTT] Player Info/Role Counter
   
Наградить
В избранное
В избранном
Удалить
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
Размер файла
Добавлен
Изменён
6.309 KB
20 мар. 2016 г. в 11:01
2 июл. 2020 г. в 13:26
Обновлений: 11 (просмотреть)

Подпишитесь, чтобы загрузить
[TTT] Player Info/Role Counter

В 1 коллекции, созданной Zaratusa
Zaratusa's TTT Server Addons
Предметов: 12
Описание
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 this, 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[wiki.facepunch.com]

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[github.com], feel free to contribute.

Thanks for reading, enjoy and have fun!
Комментариев: 13
Miata 1 дек. 2021 г. в 14:00 
Dead addon.
KutiF 8 апр. 2019 г. в 5:01 
Lua Error:
Refusing to load ttt_role_counter because it is missing Type and Base keys!
HELP
Southpaw 24 фев. 2019 г. в 15:54 
[Southpaw|2|STEAM_0:1:104921903] Lua Error:
Refusing to load ttt_role_counter because it is missing Type and Base keys!
JudgeOfFates 21 июн. 2018 г. в 1:46 
This mode can work with maniac?
1Day2Die 22 сен. 2017 г. в 3:09 
@meister-yoda ja bitte :D
Meister-Yoda 19 сен. 2017 г. в 16:41 
Hi, thanks for the work.

Could you make it work with Jenssons new roles?
http://steamcommunity.com/sharedfiles/filedetails/?id=1092556189
1Day2Die 27 авг. 2017 г. в 13:18 
You will have to edit the sourcecode provided
LIVE | Twitch.TV/Jelo__TV 27 авг. 2017 г. в 11:24 
how do i get rid of an innocent or traitor has left the server
1Day2Die 10 июл. 2017 г. в 13:17 
yes im sorry, im actually a retard. thanks for the quick reply
Zaratusa  [создатель] 10 июл. 2017 г. в 13:02 
Everything works fine...