ULX

Author Topic: Can't get damage returning to work...  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Can't get damage returning to work...
« on: February 27, 2014, 03:59:12 PM »
http://pastebin.com/QDTRwzJP

For some reason I can't get my code to return the damage caused by the prop to the props owner... Any suggestions would help me out a ton.
Sorry but my debugging is still in there... :P
I cry every time I see that I am not a respected member of this community.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Can't get damage returning to work...
« Reply #1 on: February 27, 2014, 04:05:09 PM »
I'm smart but also somewhat lazy - which line has the hook you're troubleshooting, I'll find the function from there.
(Don't feel like looking over all the code to find it dmg hooks)
"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