Added report commands

This commit is contained in:
Cooldude2606
2019-04-18 15:16:12 +01:00
parent 2c108e6792
commit 17e61e710b
4 changed files with 124 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ end)
Commands.new_command('unjail','Puts a player into jail and removes all other roles.')
:add_param('player',false,'player-role')
:add_alias('clear-jail','remove-jail')
:enable_auto_concat()
:register(function(player,action_player,raw)
local action_player_name_color = format_chat_player_name(action_player)
@@ -48,6 +49,7 @@ end)
Commands.new_command('clear-temp-ban','Removes temp ban from a player; this will not restore they items.')
:add_param('player',false,'player-role')
:add_param('reason',false)
:add_alias('untemp-ban','remove-temp-ban')
:enable_auto_concat()
:register(function(player,action_player,reason,raw)
local action_player_name_color = format_chat_player_name(action_player)