ULX

Author Topic: How do I make it so admins press v to turn noclip on  (Read 16757 times)

0 Members and 1 Guest are viewing this topic.

Offline jkarateking

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
How do I make it so admins press v to turn noclip on
« on: April 20, 2014, 03:05:48 PM »
At the minute my admins have to write !noclip to turn noclip on and off. How do I make it so they only have to click v to turn it on and off.

Thanks in advance

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: How do I make it so admins press v to turn noclip on
« Reply #1 on: April 20, 2014, 03:20:53 PM »
-snip-
forgot about: bind v ulx noclip
« Last Edit: April 20, 2014, 06:02:08 PM by Zmaster »

Offline coolwithpie

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: How do I make it so admins press v to turn noclip on
« Reply #2 on: April 20, 2014, 03:26:47 PM »
just doing this off the top of my head but couldn't you bind v to "ulx noclip"?
i dont know if this is the command b/c i cant get on gmod ATM but this should work.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: How do I make it so admins press v to turn noclip on
« Reply #3 on: April 20, 2014, 04:29:16 PM »
As coolwithpie said, you can tell your admins to use "bind v ulx noclip" in their console. Keep in mind that this will override the default "noclip" used by sandbox.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How do I make it so admins press v to turn noclip on
« Reply #4 on: April 20, 2014, 09:15:33 PM »
Code: [Select]
bind v "noclip ; ulx noclip"Will work on any server that has noclip enabled OR you have ulx access to noclip.
Will spit out the appropriate errors on failure of either, but won't override the default key, just adds to it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: How do I make it so admins press v to turn noclip on
« Reply #5 on: April 20, 2014, 10:30:06 PM »
Code: [Select]
bind v "noclip ; ulx noclip"Will work on any server that has noclip enabled OR you have ulx access to noclip.
Will spit out the appropriate errors on failure of either, but won't override the default key, just adds to it.

If this is used on a sandbox server with ulx installed, the commands will negate each other.
You know, if both ways to no clip are enabled.
Out of the Garry's Mod business.