ULX

Author Topic: Private msg command (!psay) player name color  (Read 2532 times)

0 Members and 3 Guests are viewing this topic.

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Private msg command (!psay) player name color
« on: May 03, 2015, 07:38:26 AM »
Hello everyone, I hope you're having a good day.
I use the ULX Menu for my TTT server, i just have an issue with psay. Basically when you are alive, your name is green wether the person messaged you or you messaged them. And when you're dead, it's yellow. So this can lead to people ghosting. If someone isn't sure if you're alive, they can simply message you and see if your name is green or yellow. Is there any way i can fix this? Maybe make player's names through psay be a set color?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Private msg command (!psay) player name color
« Reply #1 on: May 03, 2015, 10:31:22 AM »
Specifically through psay? Not without some code editing.
In the server settings in XGUI, there's an option to change if names are highlighted based on team status. Turn that off, and names will show up as one static color that you set regardless of team.
bw81@ulysses-forums ~ % whoami
Homepage

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Private msg command (!psay) player name color
« Reply #2 on: May 03, 2015, 10:43:54 AM »
Specifically through psay? Not without some code editing.
In the server settings in XGUI, there's an option to change if names are highlighted based on team status. Turn that off, and names will show up as one static color that you set regardless of team.

Can I set that/turn it off in game? or do i do that thru a xgui lua file?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Private msg command (!psay) player name color
« Reply #3 on: May 03, 2015, 12:07:16 PM »
Can I set that/turn it off in game? or do i do that thru a xgui lua file?
If someone says "XGUI", there's a good chance they're talking about the actual XGUI menu (!menu if that's confusing).
bw81@ulysses-forums ~ % whoami
Homepage

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Private msg command (!psay) player name color
« Reply #4 on: May 06, 2015, 05:57:00 PM »
If someone says "XGUI", there's a good chance they're talking about the actual XGUI menu (!menu if that's confusing).

I was looking everywhere there and couldn't find anything about it.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Private msg command (!psay) player name color
« Reply #5 on: May 06, 2015, 06:32:00 PM »
The only thing I could find was this... I'm not even sure if it's server side or client side, so it may not even work for you.


Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: Private msg command (!psay) player name color
« Reply #6 on: May 06, 2015, 06:40:12 PM »
What if you edited the psay command to check if the player that's messaging or the Person getting messaged is dead then do a tsay error saying you can not message a dead player! Would this work? I'll help you if you done know how to do this

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Private msg command (!psay) player name color
« Reply #7 on: May 06, 2015, 08:29:11 PM »
What if you edited the psay command to check if the player that's messaging or the Person getting messaged is dead then do a tsay error saying you can not message a dead player! Would this work? I'll help you if you done know how to do this
That still tells you if they're dead or not.

Aaron, that's the tab I was talking about. AFAIK that's server-side.
bw81@ulysses-forums ~ % whoami
Homepage