Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "HUDPaint", "HUDPaint_DrawABox", function()
- if GAMEMODE:GetGameState() == STATE_ROUND_OVER then
- print( "Hello", "Its the end of the round" )
- if team.GetName(GAMEMODE.Winner) == TEAM_RUN then
- print( "WOO TEAM", "RUNNERS WON!" )
- surface.SetDrawColor( 255, 255, 255, 255 )
- surface.SetMaterial( Material( "vgui/runnerswin.png" ) ) --change to your path
- surface.DrawTexturedRect( ScrW() * 0.5, ScrH() * 0.5, 720, 320 )
- print( "I JUST DRAWED THAT SHIT!", "WOO" )
- elseif team.GetName(GAMEMODE.Winner) == TEAM_DEATH then
- print( "NOPE TEAM DEATH WON!", "OH" )
- surface.SetDrawColor( 255, 255, 255, 255 )
- surface.SetMaterial( Material( "vgui/deathswin.png" ) ) -- change to your path
- surface.DrawTexturedRect( ScrW() * 0.5, ScrH() * 0.5, 640, 320 )
- print( "I DREW THAT SHIT AGAIN", "WOO!" )
- end
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement