Garry's Mod
144 lượt đánh giá
[TTT] Player Info/Role Counter
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic
Kích cỡ file
Đã đăng
Đã cập nhật
6.309 KB
20 Thg03, 2016 @ 11:01am
2 Thg07, 2020 @ 1:26pm
11 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
[TTT] Player Info/Role Counter

Trong 1 bộ sưu tập tạo bởi Zaratusa
Zaratusa's TTT Server Addons
12 vật phẩm
Mô tả
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 bình luận
Mara 1 Thg12, 2021 @ 2:00pm 
Dead addon.
KutiF 8 Thg04, 2019 @ 5:01am 
Lua Error:
Refusing to load ttt_role_counter because it is missing Type and Base keys!
HELP
Southpaw 24 Thg02, 2019 @ 3:54pm 
[Southpaw|2|STEAM_0:1:104921903] Lua Error:
Refusing to load ttt_role_counter because it is missing Type and Base keys!
JudgeOfFates 21 Thg06, 2018 @ 1:46am 
This mode can work with maniac?
1Day2Die 22 Thg09, 2017 @ 3:09am 
@meister-yoda ja bitte :D
Meister-Yoda 19 Thg09, 2017 @ 4:41pm 
Hi, thanks for the work.

Could you make it work with Jenssons new roles?
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1092556189
1Day2Die 27 Thg08, 2017 @ 1:18pm 
You will have to edit the sourcecode provided
ItzJustJelo 27 Thg08, 2017 @ 11:24am 
how do i get rid of an innocent or traitor has left the server
1Day2Die 10 Thg07, 2017 @ 1:17pm 
yes im sorry, im actually a ♥♥♥♥♥♥. thanks for the quick reply
Zaratusa  [tác giả] 10 Thg07, 2017 @ 1:02pm 
Everything works fine...