Garry's Mod Wiki

Player:Say

  Player:Say( string text, boolean teamOnly = false )

Description

Forces the player to say whatever the first argument is. Works on bots too.

This function ignores the default chat message cooldown
The argument can only contain 126 characters. Source SDK 2013

Arguments

1 string text
The text to force the player to say.
2 boolean teamOnly = false
Whether to send this message to our own team only.