Author Topic: Any way to grab amount of players in a team?  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Any way to grab amount of players in a team?
« on: January 21, 2014, 11:03:32 PM »
Does anyone know if you can get the amount of players in a team in TTT?
My server has admins who set mood music to fit how many people are remaining.

I'd like to make it easier on them by making it automated, but I'm not sure how to start.
Out of the Garry's Mod business.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Any way to grab amount of players in a team?
« Reply #1 on: January 21, 2014, 11:49:00 PM »
http://gmodwiki.net/Lua/Libraries/team


team.NumPlayers( team index )