mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Update admin.lua
This commit is contained in:
committed by
GitHub
parent
eb73a2e092
commit
0635ca7591
@@ -49,7 +49,7 @@ commands.add_command('clear-reports', 'Clears the reports on a player', {'player
|
||||
Admin.clear_reports(player,event.player_index)
|
||||
end)
|
||||
|
||||
commands.add_command('clear-player', 'Clears reports and warnings and removes temp-ban', {'player'}, function(event,args)
|
||||
commands.add_command('clear-player', 'Clears reports and warnings, and removes temp-ban', {'player'}, function(event,args)
|
||||
local player = Game.get_player(args.player)
|
||||
local reason = args.reason
|
||||
if not player then player_return({'commands.invalid-player',args.player}) return commands.error end
|
||||
|
||||
Reference in New Issue
Block a user