Author Topic: Disable chat messages from being broadcasted when using ULX commands.  (Read 19106 times)

0 Members and 1 Guest are viewing this topic.

Offline Edned

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Hello,

I have been wondering how to do this for a while, I have had issues with this for a while now.
Basically, whenever I do a command, as well as broadcasting the FancyLogAdmin message, it also broadcasts my player written message.
Here is an example of that:

Can this be stopped?

Kind Regards,
Edned

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Disable chat messages from being broadcasted when using ULX commands.
« Reply #1 on: November 01, 2015, 02:10:05 PM »
This is an optional parameter in the fancyLogAdmin call that would require modifying the core ULX files to hide.
I believe it's ulx.fancyLogAdmin(Player calling_ply, boolean hide_chat, string message, ...)
bw81@ulysses-forums ~ % whoami
Homepage

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Disable chat messages from being broadcasted when using ULX commands.
« Reply #2 on: November 01, 2015, 02:26:13 PM »
I believe he's referring to squelching the log echo that occurs IN ADDITION to the fancylog call.   This would be "ulx logEcho 0"

If the desire is to squelch the fancylog output, then yes, edits would need to be made to core ULX modules (unless the command/s in question support a silent mode).

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given