CapsAdmin

Untitled

Aug 1st, 2011
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.58 KB | None | 0 0
  1. local font = surface.CreateFont("Consolas", 32, 500, false, balse, "AAAA", false, false, 0)
  2.  
  3. local msg = [[
  4.  
  5. !!!! MALFOUND !!!!
  6. !!!! MALFOUND !!!!
  7. !!!! MALFOUND !!!!
  8.  
  9. A problem has been detected and Windows has been shut down to prevent damage to your computer.
  10.  
  11. KERNEL_STACK_INPAGE_ERROR
  12.  
  13. If this is the first time you've seen this Stop Error screen, restart your computer.
  14. If this screen appears again, follow these steps:
  15.  
  16. Check to make sure any new hardware or software is properly installed.
  17. If this is a new installation, ask your hardware or software manufacturer for any
  18. Windows updates you might need.
  19.  
  20. If problems continue, disable or remove any newly installed hardware or software.
  21. Disable BIOS memory options such as caching or shadowing. If you need to use Safe Mode to remove
  22. or disable components, restart your computer, press F8 to select Advanced Startup Options, and then
  23. select Safe Mode.
  24.  
  25. Technical Information:
  26.  
  27. *** STOP: 0x00000077 (0xC000000E, 0xC000000E, 0x00000000, 0x02D47000)
  28.  
  29. Collecting data for crash dump...
  30. Initializing disk for crash dump
  31. ]]
  32.  
  33. msg = msg:Split("\n")
  34.  
  35. hook.Add("PostRenderVGUI", "bsod", function()
  36.    surface.SetDrawColor(0,0,255, 255)
  37.    surface.DrawRect(0,0, ScrW(), ScrH())
  38.    
  39.    if math.random() > 0.9 then
  40.        msg[#msg-1] = msg[#msg-1] .. "."
  41.    end
  42.    
  43.    if #msg[#msg-1] > 60 then
  44.        error()
  45.    end
  46.    
  47.    surface.SetFont("AAAA")
  48.    surface.SetTextColor(color_white)
  49.    for i, line in pairs(msg) do
  50.        surface.SetTextPos(20, i * 25)
  51.        surface.DrawText(line)
  52.    end
  53. end)
Advertisement
Add Comment
Please, Sign In to add comment