How would I make a .png show up on peoples screens?

I got told to put this thread here because someone here should be able to help me.

So right now this function makes a sound play when each team wins, I want to remove the sound and add a picture that says “Runners Win” so I thought the easiest way would be just to modify this.
I can’t find anything that makes a picture show up on peoples screens.

[LUA]function GM.ReceiveRoundResult( length )
local winner = net.ReadInt(4)
if winner == TEAM_RUN then
surface.PlaySound(“music/HL2_song15.mp3”)
else
surface.PlaySound(“music/stingers/HL1_stinger_song8.mp3”)
end
GAMEMODE.Winner = winner
hook.Call(“OnRoundEnd”, GAMEMODE, winner)
end[/LUA]



local DifficultyImage = Material( "niandralades/balloon.png" ) -- Filepath

surface.SetDrawColor( 255, 255, 255, 255 ) --  Colour
surface.SetMaterial( DifficultyImage ) -- Actual image
surface.DrawTexturedRect(ScrW() / 6, ScrH() - 83, 64, 64 ) -- Location and size


Also make sure use that in the proper hook. And make extra sure not to put the DifficultyImage declaration in the hook with it. You only need to set that once.

So this would make the picture show?
Sorry, I am really terrible at lua.

[LUA]function GM.ReceiveRoundResult( length )
local winner = net.ReadInt(4)
if winner == TEAM_RUN then
local DifficultyImage = Material( “niandralades/balloon.png” ) – Filepath
surface.SetDrawColor( 255, 255, 255, 255 ) – Colour
surface.SetMaterial( DifficultyImage ) – Actual image
surface.DrawTexturedRect(ScrW() / 6, ScrH() - 83, 64, 64 ) – Location and size
else
local DifficultyImage = Material( “niandralades/balloon.png” ) – Filepath

            surface.SetDrawColor( 255, 255, 255, 255 ) --  Colour
            surface.SetMaterial( DifficultyImage ) -- Actual image
            surface.DrawTexturedRect(ScrW() / 6, ScrH() - 83, 64, 64 ) -- Location and size
end
GAMEMODE.Winner = winner
hook.Call("OnRoundEnd", GAMEMODE, winner)

end[/LUA]

Nope the surface functions will need to be called in a HUDPaint or some other rendering hook. Keep in mind the hudpaint hook runs very often so only put the neccissary calls in it.

What you’re going to want to do is have a variable that toggles the drawing of the material.



local DrawEndRoundMat = false
hook.Add( "HUDPaint", "UniqueName", function()
    if( DrawEndRoundMat ) then
        -- surface/draw calls here
    end
end )


Then set DrawEndRoundMat to true only when you want the player to see the end round material, false otherwise.