Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
Any way to grab amount of players in a team?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Any way to grab amount of players in a team? (Read 1731 times)
0 Members and 1 Guest are viewing this topic.
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.
Logged
Out of the Garry's Mod business.
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
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 )
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
Any way to grab amount of players in a team?