chat:removeSuggestion
About
Triggering this allows you to remove any existing command suggestions for the specified command.
Name
chat:removeSuggestion
Parameters
string commandName
Examples
This example removes the suggestion that was created with the example of chat:addSuggestion.
Lua Example:
TriggerEvent('chat:removeSuggestion', '/command')
C# Example:
TriggerEvent("chat:removeSuggestion", "/command");
JavaScript Example:
emit('chat:removeSuggestion', '/command');
Last modified March 30, 2020: Added JavaScript example (e9beefd)