Garry's Mod Wiki


PrintMessage( number type, string message )


Displays a message in the chat, console, or center of screen of every player.

This uses the archaic user message system (umsg) and hence is limited to ≈250 characters.


1 number type
Which type of message should be sent to the players (see Enums/HUD)
2 string message
Message to be sent to the players


Prints into the every player's chat: "I'm new here."

PrintMessage(HUD_PRINTTALK, "I'm new here.")
Output: I'm new here.

Page Links

Special Pages



Render Time: 30ms

DB GetPage 5
Generate Html 9
SaveChanges (1) 8
Render Body 0
Render Sidebar 6