Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Chat Mute?
Re: Chat Mute? [message #484239 is a reply to message #484234] Sun, 27 October 2013 03:01 Go to previous messageGo to previous message
cAmpa is currently offline  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ü!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ECW New Meltdown Deathmatch
Next Topic: Tiberium Refinery WIP
Goto Forum:
  


Current Time: Fri Dec 13 17:59:03 MST 2024

Total time taken to generate the page: 0.01234 seconds