When i start server bug
#1

Help me how to fix that bug Please..
Reply
#2

Urmm,why did u make another post about the same thing?
We told u the 1v1.amx is the problem..
Reply
#3

could've staid on the old topic https://sampforum.blast.hk/showthread.php?tid=600464
What you got there "script mess up" is not a real help though to be fair...
Anyway, as Joron mentioned, it's the 1v1.amx script that is f*cked.

What is f*cked can be easily seen by the error printed "Array out of bounds - Accessing element at negative index -1"
This exactly tells you the problem. You are calling an array with [-1] at that part. The index of an array always needs to be 0 and higher (although lower as specified when creating the array).
So you should add a condition before calling the array, to be sure the index is greater than -1
Reply
#4

Why are you screenshotting copy-paste-able compiler outputs?

And why are you using CrashDetect in the first instance...


Furthermore, why are you simply posting up these errors, not explaining ANYTHING AT ALL about where they happen, what causes them to happen or anything at all, more than "it doesn't work".........


Seriously though, Explain this again...

When does it happen...
What causes it to happen...

When did it start happening...

Ultimately though you want to look at debug messages in your code to make it easier to NOT rely on CrashDetect.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)