Author Topic: PSAY, ASAY and other commands are showing in chat when run  (Read 2232 times)

0 Members and 1 Guest are viewing this topic.

Offline SaMsoN

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
PSAY, ASAY and other commands are showing in chat when run
« on: November 05, 2018, 08:21:30 AM »
Hi,
When someone runs Asay or Psay and other commands they show in chat as well as run the command. This breaks the idea of Psay (private say) as it shows to nearby players. How to fix this problem?

My ULib/ULX versions (run "ulx version" in console):
ULib v2.63d
ULX v3.73d

Game mode(s) I am having this problem on: Star Wars RP



Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: PSAY, ASAY and other commands are showing in chat when run
« Reply #1 on: December 11, 2018, 06:46:21 PM »
By default, PSay ONLY shows in chat to the person saying, or receiving, a message.

If you are positive other people can see the psay command, a custom chat box or part of the gamemode is intercepting.
As for asay, anyone with gmod's "admin" access or above, which normally is admin and superadmin, would be able to see.


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bellino

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: PSAY, ASAY and other commands are showing in chat when run
« Reply #2 on: December 14, 2018, 02:03:31 AM »
By default, PSay ONLY shows in chat to the person saying, or receiving, a message.

If you get a chance to try one of these awesome and are positive other people can see the psay command, a custom chat box or part of the gamemode is intercepting.
As for asay, anyone with gmod's "admin" access or above, which normally is admin and superadmin, would be able to see.

Is it possible to tweak these settings and set permissions however you want btw?
« Last Edit: December 21, 2023, 05:39:29 AM by Bellino »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: PSAY, ASAY and other commands are showing in chat when run
« Reply #3 on: December 14, 2018, 01:40:51 PM »
As with any ulx command, yes, using Xgui.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Secadary

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: PSAY, ASAY and other commands are showing in chat when run
« Reply #4 on: January 02, 2019, 08:19:09 PM »
You saved my life. I can’t thank you enough.