1. Post #1
    help
    zyke34's Avatar
    January 2012
    278 Posts
    Hi guys, I was wondering how would you draw an image to the center of your screen? Sorry, noob at lua.

  2. Post #2
    Noi
    Purrr ~
    Noi's Avatar
    February 2010
    1,375 Posts
    surface.DrawLine in hook HUDPaint
    Reply With Quote Edit / Delete Reply Windows 8 Russian Federation Show Events Dumb Dumb x 1 (list)

  3. Post #3
    Awesome Gmod Servers!
    brandonj4's Avatar
    September 2011
    2,074 Posts
    Hi guys, I was wondering how would you draw an image to the center of your screen? Sorry, noob at lua.
    What do you mean by image?
    Do you mean lines or an actual picture of a crosshair?
    Are you using custom materials?
    Reply With Quote Edit / Delete Reply Windows 7 Canada Show Events Dumb Dumb x 1 (list)

  4. Post #4
    shadowndacorner's Avatar
    May 2011
    197 Posts
    If you want to do something like the standard crosshair (four simple dots), use surface.drawline, like Noi said. If you have a custom image for it, use surface.DrawTexturedRect. Both in a hudpaint hook.