Ulysses

General => Developers Corner => Topic started by: Neku on January 21, 2014, 11:03:32 PM

Title: Any way to grab amount of players in a team?
Post by: Neku 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.
Title: Re: Any way to grab amount of players in a team?
Post by: MrPresident on January 21, 2014, 11:49:00 PM
http://gmodwiki.net/Lua/Libraries/team (http://gmodwiki.net/Lua/Libraries/team)


team.NumPlayers( team index )