Advertisement
Guest User

Attempted round music script

a guest
Dec 17th, 2013
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. function EndOfRoundMusic()
  2.     local inno = "sound/dramatic.wav"
  3.     local trait = "sound/dramatic.wav"
  4.     local time = "sound/dramatic.wav"
  5.     if client then
  6.         if TTTEndRound !=WIN_INNOCENT then
  7.             surface.PlaySound(inno)
  8.             elseif TTTEndRound !=WIN_TRAITOR then
  9.                 surface.PlaySound(trait)
  10.             elseif TTTEndRound !=WIN_TIMELIMIT then
  11.                 surface.PlaySound(time)
  12.             end
  13.             end
  14.  
  15.            
  16.         end
  17.  
  18. hook.Add ("TTTEndRound", EndofRoundMusic)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement