Advertisement
Guest User

Murder Round

a guest
Apr 24th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.77 KB | None | 0 0
  1. local function setnormal()
  2. ttt_traitor_pct 0.25
  3. ttt_detective_pct 0.13
  4. ttt_innocent_pct 0.62
  5. ttt_detective_max 32
  6. ttt_traitor_max 32
  7. end
  8.  
  9. local function set()
  10.     if win == WIN_INNOCENT then
  11.         setnormal()
  12.     elseif win == WIN_TRAITOR then
  13.         setnormal()
  14.     elseif win == WIN_TIMELIMIT then
  15.         setnormal()
  16.     end
  17. end
  18.  
  19. if random = 49 then
  20. rcon ttt_traitor_pct 0.1
  21. rcon ttt_detective_pct 0.1
  22. rcon ttt_innocent_pct 0.98
  23. sleep(1)
  24. set()
  25. draw.DrawText ( "This is a 'Murder' round, there is 1 Detective, 1 Traitor, Good Luck!", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color( 255, 255, 255, 255 ), TEXT_ALIGN_CENTER )
  26. else
  27. set()
  28. draw.DrawText ( "This round is a Non Modded round!Have fun!", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color( 255, 255, 255, 255 ), TEXT_ALIGN_CENTER )
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement