I have a hook in a lua file that is supposed to get called whenever a player runs ShowTeam (F2 by default)
However, the function isn't running when I press F2
I checked to make sure that my F2 is binded correctly, and it is

I get no errors
I'm pretty sure the function isn't the problem, since I made a concommand for the function as well and that works fine
This is the hook code and the concommand code
hook.Add( "ShowTeam", "BindForSH", OpenServerHopperPage )
concommand.Add( SHConsoleCommand, OpenServerHopperPage )
My hook is being run serverside and the console command is client side
The function is in a if (CLIENT) then
Could that be why it isn't working?