Guest User

asdf

a guest
Mar 12th, 2014
4
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function roundstartbenefits()
  2.     for k, v in ipairs(player.GetAll()) do
  3.         timer.Simple(1, function()
  4.             local color = Color( 255, 255, 0, 255 )
  5.             local txt = "There are currently "..#player.GetAll().."/20 players in the server. Out of these, "..CountTraitors().." are Traitors."
  6.             CustomMsg(v, txt, color)
  7.         end)
  8.     end
  9. end
  10. hook.Add("TTTBeginRound","newroundbenefits",roundstartbenefits)
  11.  
  12. function initialbenefits(ply)  
  13.     timer.Simple(6, function()
  14.         if ply:IsValid() then
  15.             local color = Color( 50, 200, 255, 255 )
  16.             local txt = "You are playing on Last Known Suspect. Enjoy your stay!"
  17.             CustomMsg(ply, txt, color)
  18.         end
  19.     end)
  20. end
  21. hook.Add("PlayerInitialSpawn","initialspawnbenefits",initialbenefits)
RAW Paste Data