How to add commands to your server.
Last updated 19 days ago
Visit /client/commands/commands.lua and create your command, here's the example of one.
/client/commands/commands.lua
RegisterCommand('twt', function(src, args, _) local argsOutput = _Lib.ConvertArgumentsToString(args) -- converting arguments to text ((args[n])) Chat.CreateMessage('fab fa-twitter', argsOutput, '#64A6FD', false, false) end)
In order to check what params are doing go to .