When trying to add command suggestions using the following code:
TriggerEvent('chat:addSuggestion', '/command', 'Command description text', {'param1', 'param2'})
All I get is this error in the client console
and the suggestion/command autocomplete won’t popup in the chat.
Removing the parameters from the event works fine and the command is registered, but of course no parameters are provided…