[AMXX] Run time error 4 (index out of bounds)
Hi,
need a bit help, error occurs imho here: Code:
I don't have any clue, new in scripting, sorry. Any hints ? |
How did you define the variables killer and levels?
|
Omg, seen this:
Code:
Maybe this is the error, testing this now. Thanks. |
Code:
You're declaring an array of size 10 and then trying to access 15 slots. |
if you are not using a MAC computer then the compiler tells the line with the error by a number before the error/warning
|
comes from:
Code:
If i set Code:
|
thats b/c u only have 19 values in that array, not 25, add 6 more values and you won't get a compiler error
|
Then i get:
Code:
c:\amxx windows\scripting\sounds.sma(71) : error 018: initialization data exceeds declared sizehavn't written this plugin by myself, comes from amx, only changes i have made are different sounds... |
then add 5 values, not 6
|
1 Attachment(s)
Sorry, same result.
Have attached the sma, maybe you can have a look at.... |
| All times are GMT -4. The time now is 19:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.