View Single Post
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-26-2012 , 09:23   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #19

Quote:
Originally Posted by Despirator View Post
i want to handle players switch and stop that for certain players
There dosnt seem to be anything virtual to do with switching teams.

Quote:
Originally Posted by thetwistedpanda View Post
Well, you can hook manual team changes with join_team, which stops most of the issues in general. If you want to take into consideration plugin swapping or admin interference, it's relatively easy to hook player_team, set the broadcast to false, and swap them back.
Best method ^

Last edited by Dr!fter; 03-26-2012 at 09:24.
Dr!fter is offline