function JailRoom(ply, reason, seconds, after_relog)
if ply.jailed == true then return end
ply.LastPos = ply:GetPos()
ply.jailed = true
ply.timer = seconds
ply.jail_reason = reason
timer.Simple(1,function ()
ply:SetTeam(2)
ply:changeTeam(TEAM_BAN, true)
ply:SetHealth( "100" )
end)
timer.Simple(15,function ()
ply:Say( "/job ban", false )
end)