ULX

Author Topic: Override ULX command  (Read 3168 times)

0 Members and 1 Guest are viewing this topic.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Override ULX command
« on: September 12, 2015, 08:04:16 PM »
Hi,

I'm trying to override a default ulx command (ulx.mute) without changing any ulx files. I tried just creating a new function and calling the ulx.command function but that brings up errors in the console and neither command ends up working. Is there any way to override a command without removing the original command's code?
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given