Skip to content

Client Exports

All client exports can be called from other client-side resources using the exports function.

Add a command suggestion on the client.

exports['senor-chat']:addSuggestion(name, help, params)

Parameters:

  • name (string) - Command name
  • help (string | nil) - Help text
  • params (table | nil) - Command parameters

Example:

exports['senor-chat']:addSuggestion('/test', 'Test command', {
{ name = 'param1', help = 'First parameter' }
})