I'm fairly certain using the @red and @blue targets will work, but you could have just tried in the console instead of posting and waiting around for replies on a mailing list, too.
On Sun, Dec 7, 2014 at 5:43 AM, Rovanion Luckey <[email protected]> wrote: > So neither the default TF2-server nor sourcemod provides a way to > distinguish if a player is on the RED or the BLU team? > > 2014-12-07 3:17 GMT+01:00 William Pickard <[email protected]>: > >> No, you need a custom built plugin that acts like the status command but >> prints out players + team their on >> On 2014-12-06 7:19 PM, "Rovanion Luckey" <[email protected]> >> wrote: >> >>> I tried installing that a couple of weeks ago. Long story short I got a >>> segfault because the stable version was not compatible with the TF2 server >>> and manually keeping meta- and sourcemod up to date seemed like more effort >>> than it was worth. I guess I've been spoilt by package managers. >>> >>> So does sourcemod provide a console command which does this. I see there >>> is a concept of targets; would I write something along the lines of "sm_who >>> @red" ? >>> >>> 2014-12-07 1:00 GMT+01:00 William Pickard <[email protected]>: >>> >>>> Sourcemod plugin will help >>>> >>>> On 2014-12-06 5:56 PM, "Rovanion Luckey" <[email protected]> >>>> wrote: >>>> > >>>> > Hi, >>>> > I'm running a TF2 server and want to list the players currently >>>> playing on the server along with the team they're on through the rcon >>>> console. I want to use this information to write a small program which >>>> moves players around in mumble to the appropriate channel for their team. >>>> But that's besides the point. >>>> > >>>> > The "status" command does list every player and a bunch of >>>> interesting information, but not which team they're in. My question is: Is >>>> it possible to list every player on the server along with the name of the >>>> team they're currently in? >>>> > >>>> > _______________________________________________ >>>> > To unsubscribe, edit your list preferences, or view the list >>>> archives, please visit: >>>> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>>> > >>>> >>>> >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list archives, >>>> please visit: >>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>>> >>>> >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>> >>> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >> >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

