RemoveChatSuggestion
Takes back a suggestion made with AddChatSuggestion.
For everyone, or - with a player - the one made for that player. A registered command’s suggestion and the server’s own
are not this one’s: UnregisterCommand takes the command’s away.
Syntax
Section titled “Syntax”RemoveChatSuggestion(name [, pid])| Parameter | Type | |
|---|---|---|
name |
string | the command’s name |
pid |
number | nil | the player; nil for the one made for everyone (optional) |
Returns
Section titled “Returns”boolean - false when there was no such suggestion
Example
Section titled “Example”RemoveChatSuggestion("duel")See also
Section titled “See also”AddChatSuggestion · UnregisterCommand · the Chat and commands group of the index
