Skip to content

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.

RemoveChatSuggestion(name [, pid])
Parameter Type
name string the command’s name
pid number | nil the player; nil for the one made for everyone (optional)

boolean - false when there was no such suggestion

RemoveChatSuggestion("duel")

AddChatSuggestion · UnregisterCommand · the Chat and commands group of the index