ttt_game_text

From Valve Developer Community
Revision as of 08:47, 20 March 2024 by Strubium (talk | contribs)
Jump to navigation Jump to search

ttt_game_text is a point available in Garry's Mod Garry's Mod.This point entity is used to display a game message in the top right corner of the screen where TTT gamemode messages and information normally appear, similar to game_text

Keyvalues

Players that should receive the message ([todo internal name (i)]) <choices>
What player/group of player receives message
  • 1 - Activator only
  • 2 - All players
  • 3 - Detectives only
  • 4 - All except traitors
Tip.pngTip: Be smart with these options. You do not want to display a message that will allow people to figure out who traitors are
Message Text ([todo internal name (i)]) <string>
The message to be displayed
Color ([todo internal name (i)]) <color255>
The color of the message


Inputs

Display
Display the message text.