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

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.