Author Topic: ULX Physgun freeze - FIXED - UPDATED  (Read 26839 times)

0 Members and 2 Guests are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Physgun freeze - FIXED - UPDATED
« Reply #15 on: August 03, 2015, 08:18:32 PM »
I get this Script Error when freezing somebody..
Seems the function he uses exists in ULib only.
Likely, when placing in autorun, it's loading before ULib does.
Try this .. take your ulxphysgun.lua file you created from the code above and move it to <gmod server>/addons/ulx/lua/ulx/modules/
No guarantee, but that will increase your chances of it working.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

An Error Has Occurred!

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