Advertisement
Guest User

Half Detectives Half Traitors

a guest
Apr 24th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. local random = math.random(1,80)
  2.  
  3. local function setnormal()
  4. ttt_traitor_pct 0.25
  5. ttt_detective_pct 0.13
  6. ttt_innocent_pct 0.62
  7. ttt_detective_max 32
  8. ttt_traitor_max 32
  9. end
  10.  
  11. if random = 50 then
  12. rcon ttt_traitor_pct 0.50
  13. rcon ttt_detective_pct 0.50
  14. sleep(1)
  15. setnormal()
  16. draw.DrawText( "Half Traitors, Half Detectives, DONT kill your buddies, FIGHT!", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color( 255, 255, 255, 255 ), TEXT_ALIGN_CENTER )
  17. ulx respawn *
  18. else
  19. setnormal()
  20. 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 )
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement