Garry's Mod

Garry's Mod

144 次評價
[TTT] Player Info/Role Counter
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
檔案大小
發佈於
更新時間
6.309 KB
2016 年 3 月 20 日 上午 11:01
2020 年 7 月 2 日 下午 1:26
11 項更新註記 (檢視)

訂閱以下載
[TTT] Player Info/Role Counter

在 Zaratusa 的 1 個收藏中
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 則留言
Mara 2021 年 12 月 1 日 下午 2:00 
Dead addon.
KutiF 2019 年 4 月 8 日 上午 5:01 
Lua Error:
Refusing to load ttt_role_counter because it is missing Type and Base keys!
HELP
Southpaw 2019 年 2 月 24 日 下午 3:54 
[Southpaw|2|STEAM_0:1:104921903] Lua Error:
Refusing to load ttt_role_counter because it is missing Type and Base keys!
JudgeOfFates 2018 年 6 月 21 日 上午 1:46 
This mode can work with maniac?
1Day2Die 2017 年 9 月 22 日 上午 3:09 
@meister-yoda ja bitte :D
Meister-Yoda 2017 年 9 月 19 日 下午 4:41 
Hi, thanks for the work.

Could you make it work with Jenssons new roles?
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1092556189
1Day2Die 2017 年 8 月 27 日 下午 1:18 
You will have to edit the sourcecode provided
ItzJustJelo 2017 年 8 月 27 日 上午 11:24 
how do i get rid of an innocent or traitor has left the server
1Day2Die 2017 年 7 月 10 日 下午 1:17 
yes im sorry, im actually a retard. thanks for the quick reply
Zaratusa  [作者] 2017 年 7 月 10 日 下午 1:02 
Everything works fine...