ttt_game_text

From Valve Developer Community
Revision as of 12:52, 19 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 You can set the message to be displayed to: The activator only, all players, detectives only, traitors only, or all except traitors (Be careful with this. You do not want to display a message that will allow people to figure out who traitors are).

Keyvalues

Players that should receive the message ([todo internal name (i)]) <choices>
What player/group of player receives message
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.