Author Topic: Admin sounds, tools and other code chat.  (Read 56119 times)

0 Members and 4 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: Admin sounds, tools and other code chat.
« Reply #120 on: May 22, 2008, 06:36:49 PM »
Your (what I will soon start naming 'fruity') loops are causing issues again. :D

Lets say you have "item 1" and "item 2" in dlist.
You loop through it when player spawns "item 1".
Blacklist gets set true
Then, loop finishes, setting blacklist to false (item 2 wasn't spawned)
So, item 1 doesn't get blocked.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Admin sounds, tools and other code chat.
« Reply #121 on: May 22, 2008, 06:41:01 PM »
I noticed this here :
Code: [Select]
False
False
False
False
False
False
False
False
False
True
False
False
False
False
Is there a way to fix this? I can't think completely atm.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

An Error Has Occurred!

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