Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function roundstartbenefits()
- for k, v in ipairs(player.GetAll()) do
- timer.Simple(1, function()
- local color = Color( 255, 255, 0, 255 )
- local txt = "There are currently "..#player.GetAll().."/20 players in the server. Out of these, "..CountTraitors().." are Traitors."
- CustomMsg(v, txt, color)
- end)
- end
- end
- hook.Add("TTTBeginRound","newroundbenefits",roundstartbenefits)
- function initialbenefits(ply)
- timer.Simple(6, function()
- if ply:IsValid() then
- local color = Color( 50, 200, 255, 255 )
- local txt = "You are playing on Last Known Suspect. Enjoy your stay!"
- CustomMsg(ply, txt, color)
- end
- end)
- end
- hook.Add("PlayerInitialSpawn","initialspawnbenefits",initialbenefits)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement