Ok I Have been trying for 3 hours to edit the HUD in Deathrun on my server. I Have been trying to draw a logo to the bottom right of the screen but the issue is it does not scale the picture down to other resolutions. My code has the hietgh and width stuff to adjust the screen resolution but it still scales it wrong. Does anyone know what I am doing wrong or how to adjust the placement and not just the scaling of the pic. Here is my code:
surface.SetDrawColor( 255, 255, 255, 255)
surface.SetMaterial( Material( "icon16/pad.png" ) )
surface.DrawTexturedRect( ScrW() * 0.5, ScrH() * 0.5, 300, 300 )