View Single Post
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 11-03-2008 , 01:00   Re: AFK Manager
Reply With Quote #12

Maybe this could help?

Quote:
I see many level designers wanting to know the number of players in the server and so on.
I'm posting this here to get a feel of what people want this new proposed entity to do:

logic_player_counter

Outputs:
* void OnPlayerConnect() = fired when a player connects to the server
* void OnPlayerDisconnect() = fired when a player leaves the server
* integer OutPlayerCount() = value of number of players

Ideas/Suggestions?
It's not implemented yet, but if it was, could this help?

I'm not sure if you can access those from SM plugins though. I'm not familiar with any programming related to the source engine.
crazydog is offline