Player/Say

From Garry's Mod
Jump to: navigation, search
 Player:Say( )

Description

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

NOTE

This function ignores the default chat message cooldown

Arguments

string text

The text to force the player to say.

Arguments

boolean teamOnly=false

Whether to send this message to our own team only.
Personal tools
Navigation