Author Topic: ulx.CONCOMMAND( "noclip")  (Read 3214 times)

0 Members and 1 Guest are viewing this topic.

Offline fackelkind

  • Newbie
  • *
  • Posts: 24
  • Karma: 4
ulx.CONCOMMAND( "noclip")
« on: October 29, 2006, 09:13:48 PM »
Hey there,

well I try to integrate my TeamSuite in ULib/ULX. That works perfectly, it reads the Ulib flags now to specify a users team.
But I have troubles with one of my addons: Noclip.
Since ULX has an own !noclip chatcommand it collides with my one.
Is there a way to unhook this chatcommand? If so, how? And have ULX1 this chatcommand too? How to unhook it there?

Offline fackelkind

  • Newbie
  • *
  • Posts: 24
  • Karma: 4
Re: ulx.CONCOMMAND( "noclip")
« Reply #1 on: October 29, 2006, 10:10:14 PM »
I figure it out myself. Its not nice, but it works. I do on each !noclip call:
Code: [Select]
                        if ULib and ULib.sayCmds and ULib.sayCmds["!noclip"] then
                                ULib.sayCmds["!noclip"] = nil
                        end

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ulx.CONCOMMAND( "noclip")
« Reply #2 on: November 08, 2006, 03:50:39 PM »
You could of course just change the noclip chat command to something else.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx.CONCOMMAND( "noclip")
« Reply #3 on: November 09, 2006, 07:59:23 PM »
True. Several non-Source games use 'ghost' in the console instead of noclip.
Might try that
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming