Client Exports
Client Exports
Section titled “Client Exports”All client exports can be called from other client-side resources using the exports function.
addSuggestion
Section titled “addSuggestion”Add a command suggestion on the client.
exports['senor-chat']:addSuggestion(name, help, params)Parameters:
name(string) - Command namehelp(string | nil) - Help textparams(table | nil) - Command parameters
Example:
exports['senor-chat']:addSuggestion('/test', 'Test command', { { name = 'param1', help = 'First parameter' }})