CapsAdmin

Untitled

Oct 5th, 2012
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. directx.Open()
  2.  
  3. local font = directx.LoadFont("Arial", false, 15)
  4.  
  5. hook.Add("PostDirectDraw", "test", function()  
  6.     directx.BeginContext()
  7.     directx.Begin()
  8.         directx.SetDrawColor(255, 255, 255, 255)
  9.         directx.RenderText(font, 300, 300, "HHHHHHHHHHHHHHHHHHHHHASIDJASIDJIAS DJASDIJOIODJ IASD")
  10.         local x,y = mouse.GetPos()
  11.         directx.DrawFilledRect(x,y,100,100)
  12.     directx.End()
  13.     directx.EndContext()
  14. end)
  15.  
  16. util.MonitorFileInclude()
Advertisement
Add Comment
Please, Sign In to add comment