Another Bug Bash

This commit is contained in:
Cooldude2606
2019-01-05 13:56:29 +00:00
parent 382fee77f0
commit 9e698fb6bd
10 changed files with 12 additions and 11 deletions

View File

@@ -25,5 +25,6 @@ commands.add_command('unjail', 'Returns a player\'s old rank', {
}, function(event,args)
local player = args.player
if Admin.is_banned(player,true) ~= 'jail' then player_return({'ExpGamingAdmin.cant-report-ban',args.player.name}) return commands.error end
Admin.set_banned(player,false)
Server.interface(Role.revert,true,player,event.player_index,2)
end)