Advertisement
Guest User

Untitled

a guest
Oct 6th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.91 KB | None | 0 0
  1. hook.Add( "HUDPaint", "HUDPaint_DrawABox", function()
  2.     if GAMEMODE:GetGameState() == STATE_ROUND_OVER then
  3.        print( "Hello", "Its the end of the round" )
  4.         if team.GetName(GAMEMODE.Winner) == TEAM_RUN then
  5.                  print( "WOO TEAM", "RUNNERS WON!" )
  6.                 surface.SetDrawColor( 255, 255, 255, 255 )
  7. surface.SetMaterial( Material( "vgui/runnerswin.png" ) ) --change to your path
  8. surface.DrawTexturedRect( ScrW() * 0.5, ScrH() * 0.5, 720, 320 )
  9.      print( "I JUST DRAWED THAT SHIT!", "WOO" )
  10.      elseif team.GetName(GAMEMODE.Winner) == TEAM_DEATH then
  11.        print( "NOPE TEAM DEATH WON!", "OH" )
  12.         surface.SetDrawColor( 255, 255, 255, 255 )
  13. surface.SetMaterial( Material( "vgui/deathswin.png" ) ) -- change to your path
  14. surface.DrawTexturedRect( ScrW() * 0.5, ScrH() * 0.5, 640, 320 )
  15.       print( "I DREW THAT SHIT AGAIN", "WOO!" )
  16.                 end
  17.         end
  18. end     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement