Author Topic: Ulx noclip not echoing  (Read 2685 times)

0 Members and 1 Guest are viewing this topic.

Offline Maxer421

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Ulx noclip not echoing
« on: July 31, 2013, 08:56:14 PM »
I have my server setup and all ready to go, there is one problem though. I have the other commands echoing in chat to everyone. The problem is that ulx noclip will not echo with any of my groups. Is there any way I can make noclip echo when it is used by moderators, admins, superadmins etc and have some groups such as owners and headadmins not echo?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx noclip not echoing
« Reply #1 on: August 01, 2013, 04:56:26 AM »
You'll need to add the code to echo yourself. We don't have noclip echoing because it's used all the time and would cause spam.
Experiencing God's grace one day at a time.

Offline Maxer421

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Ulx noclip not echoing
« Reply #2 on: August 01, 2013, 09:28:48 PM »
Which lua file would I need to put the coding into?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx noclip not echoing
« Reply #3 on: August 02, 2013, 11:02:02 AM »
It would be in util.lua around line 154.
Experiencing God's grace one day at a time.

Offline Maxer421

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Ulx noclip not echoing
« Reply #4 on: August 22, 2013, 06:35:28 PM »
Any chance you could tell me how to code the echo? Only familar with java, not so much on lua.

Mr582

  • Guest
Re: Ulx noclip not echoing
« Reply #5 on: August 22, 2013, 07:34:07 PM »
Any chance you could tell me how to code the echo? Only familar with java, not so much on lua.

I am not a lua expert either but if you want to echo something I would suggest looking at other commands such as slay in the fun.lua file or slap also in fun.lua