Ttt game text: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{this is a|point|name=ttt_game_text|game=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 {{ent|game_text}}
{{this is a|point entity|name=ttt_game_text|game=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 {{ent|game_text}}


== Keyvalues ==
== Keyvalues ==

Revision as of 21:25, 17 May 2024

ttt_game_text is a point entity 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.