Re: Chat Mute? [message #484239 is a reply to message #484234] |
Sun, 27 October 2013 03:01 |
|
cAmpa
Messages: 597 Registered: March 2006
Karma:
|
Colonel |
|
|
You could set the sound function in front of the filter.
Chat_Hook() {
Sound_Commands();
Mute_Function();
}
He would be able to spam sounds without you can see it ingame now.
Or you do it like this with a few edits in sound function.
Chat_Hook() {
bool isSoundCommand = Sound_Commands();
if (isSoundCommand == false)
Mute_Function();
}
bool Sound_Commands()
{
...
if (SoundCommandFound)
{
return true;
}
return false;
}
Bückstabü!
|
|
|