Author Topic: problem. Please tell me how  (Read 2131 times)

0 Members and 1 Guest are viewing this topic.

Offline blackfire88

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
problem. Please tell me how
« on: February 18, 2011, 11:51:37 PM »
How do i set certain tool gun access for different groups?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: problem. Please tell me how
« Reply #1 on: February 19, 2011, 06:52:29 AM »
You'd have to use a Gmod addon or ulx module to do so, as that function isn't included in ULX by default.
A (retired?) Team Ulysses member made URestrict which can be found in our Releases section of the forum, but his last post was that he would no longer be maintaining it and the few pages before that report various issues (while at same time, some say it still works).

You may wish to try it to see if the tool restriction in it works.
If you know/want to learn lua, you may also wish to see Gmod's CanTool hook.
Gamemode.CanTool
The example there would break/remove all other CanTool hooks in it's current example though.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming