Garry's Mod

Garry's Mod

59 ratings
[TTT/Sandbox] Contextual Ping
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
24.106 KB
2 Aug, 2020 @ 2:18pm
13 Aug, 2020 @ 12:40pm
4 Change Notes ( view )

Subscribe to download
[TTT/Sandbox] Contextual Ping

Description
Introduces a contextual ping system to Garrys Mod, notifying your friends or teammates of a specific point of interest.

Supports all game modes, but has been specifically designed for both Sandbox and Trouble in Terrorist Town.

Features
Press the T key to send a ping to all players on the server.

Pinging a location will tag that location to all other players on the server.

Pinging a player, weapon or NPC will tag that location and add a glow effect visible to all other players on the server.

TTT Features
If you are a traitor, press the B key to send a ping which is only visible to your fellow traitors.

If you are a detective, pressing the T key will ping separately to all players on the server.

Pinging a dead body will notify all players or your fellow traitors of an unidentified/identified body.

Bind commands
Don't like the default T (All) or B (Traitor) key binds? Rebind them by typing the following commands in the console:
bind KEY contextual_ping_all
bind KEY contextual_ping_team

Notes
If you are playing in singleplayer, you must restart the map for the bind to take effect.
This addon must be installed on both the client and server to be able to send and receive pings.

Please feel free to post feedback if you have any issues.
10 Comments
bonna97 21 Dec, 2022 @ 11:22am 
Pinging a Disguised player in TTT will just call out the player's name in the text chat.
CrowInsanity13 9 Jun, 2022 @ 3:43pm 
is there a way to get rid of the chat text when you ping?
JamesLJ  [author] 16 Jul, 2021 @ 11:42am 
@Baddrack Obane - The ping texture is installed with the mod so I'm unsure why it would be an error, a few questions though:
- What's the error message you're receiving in the console?
- Have you enabled "Allow all custom files from server" in Garry's Mod?
- Is the mod installed on both the client and server?
Баддрак Обанe 16 Jul, 2021 @ 5:22am 
On my server the ping is a error texture, how can i fix that? Cool Addon tho, really like it.
>KB> >KEKSQUAD 2 Apr, 2021 @ 6:11pm 
Hey so I have some feedback for this addon.

Team ping messages should show up in team chat only, as I'm watching the server console rn and it seems to be showing it in public chat regardless of ping type.

There should also be a server-side convar to disable certain ping types, so something like "contextual_ping_all/team_allowed" in order to prevent chat spam, even though there are addons for that already.
Viscus 28 Jan, 2021 @ 8:14am 
Innocents shouldn't have access to pings. Additionally, pings should only work within LoS - similiar to how the outline works. The material that shows up should not show through walls.
trevtrev45 26 Dec, 2020 @ 6:59pm 
When I change the bind to a different key, the result is now both keys are bound to ping. Is there something I am doing wrong?

Mochi 13 Dec, 2020 @ 10:07am 
@JamesLJ that would be awesome! Your addons i perfect for my server
JamesLJ  [author] 13 Dec, 2020 @ 3:32am 
@Suri - I can create a ConVar to toggle ping text in chat, would that work?
Mochi 12 Dec, 2020 @ 12:33pm 
Yo this is really good, i just have a problem and it's that i really don't want the "pinged at a location" in the chat. Is there a way to fix it?