View Single Post
x6herbius
Senior Member
Join Date: May 2011
Location: West Sussex, UK
Old 04-16-2012 , 16:38   Re: Blocking a team change in TF2
Reply With Quote #3

I've just tried the "jointeam" hook and while that does register as a command this time, using GetClientTeam from the command listener always returns the player's team as invalid, meaning I have no way of telling what team-restricting conditions I should be applying to them. The teams_change event happens after the command listener, so I can't get the team from there either. The RespawnPlayer method did nothing.
x6herbius is offline
Send a message via Skype™ to x6herbius