PDA

View Full Version : disable chat of specific player



Ni3ls
4th October 2015, 22:09
Hi all,

How to disables somebody chat? I used the command /cg_chattime "0", the player itself doesnt see any chat, but the others still can see it

kung foo man
5th October 2015, 01:07
Just don't call self ClientCommand() in CodeCallback_PlayerCommand(args), aka return; out of that callback:

http://killtube.org/showthread.php?1201-Extension-Player-Command-Control-%28includes-CHAT-Control-for-Builtin-B3!%29

Off-Topic: I added 1 + 2, which will look like 1 + 2. So we can highlight code/data in text :^)

Ni3ls
5th October 2015, 08:35
Yeah after a good night of sleeping I realized that. Thanks!