ULX

Author Topic: ULX Coding Problem  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

Offline josephhabib

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
ULX Coding Problem
« on: January 29, 2016, 08:59:36 AM »
My friend coded 1 custom command for ULX that works properly. I copied and pasted the files and changed the .wavs + everything inside them and it worked properly. I did the same thing again but this time it does not work. It is supposed to play a sound and then kill the person with another .wav sound playing after the other sound ended to make it seem like the target got blown up. Apparently it refused to work properly and started targeting a sound to play from the second custom command. I compared code and made sure everything was fine and it was. There aren't many files so it didn't take long to check the original command, second command, and third to see if there's a problem. Eventually I tried to change the names of the .wavs and then just choose new ones. The problem is that the first sound does not go off and the last one is super low volume.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX Coding Problem
« Reply #1 on: January 29, 2016, 10:23:45 AM »
It would help to actually see some code; we can't fix what we don't have. :P
bw81@ulysses-forums ~ % whoami
Homepage

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: ULX Coding Problem
« Reply #2 on: January 29, 2016, 12:35:04 PM »
It would help to actually see some code; we can't fix what we don't have. :P

Just use your code-mind-reading abilities.
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