mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed /unjail
This commit is contained in:
@@ -42,7 +42,7 @@ commands.add_command('unjail', 'Returns a player\'s old rank', {'player',true},
|
||||
local player = Game.get_player(args.player)
|
||||
if not player then player_return({'commands.invalid-player',args.player}) return commands.error end
|
||||
if Admin.is_banned(player) then player_return({'commands.cant-report-ban',args.player}) return commands.error end
|
||||
Ranking.revert(player,event.player_index)
|
||||
Server.interface(Ranking.revert,true,player,event.player_index)
|
||||
end)
|
||||
|
||||
commands.add_command('temp-ban', 'Temporarily ban a player', {'player','reason',true}, function(event,args)
|
||||
|
||||
Reference in New Issue
Block a user