http://www.sourcepython.com/showthread.php?478-Help-with-Client-Command-Filter-to-force-players-to-join-specified-team&highlight=Client+Command+Filter
but all the wiki posted are not available anymore
here is what i have right now
Syntax: Select all
from commands.client import client_command_manager
def load():
client_command_manager.register_filter(client_command_filter)
def unload():
client_command_manager.unregister_filter(client_command_filter)
def client_command_filter(player, CCommand):
if CCommand == 'jointeam':
print('hello')
hello does not show up ~
tested game: CSGO