array index out of bounds
#7

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
You can't initialize enumerators like that.
You need to assign a default value at runtime, preferrably at script init (OnGameModeInit / OnFilterScriptInit)
Okay, this is the full code: https://pastebin.com/Lg69bi9s

It's a filterscript, I compile, I get the "array index out of bounds" error at the last callback (commented next to the error line).

Fix this and reply here with the fixed version. Thanks alot.
Reply


Messages In This Thread
array index out of bounds - by Viggo - 02.04.2019, 13:40
Re: array index out of bounds - by NaS - 02.04.2019, 14:01
Re: array index out of bounds - by Logic_ - 02.04.2019, 14:34
Re: array index out of bounds - by Viggo - 02.04.2019, 14:59
Re: array index out of bounds - by JesterlJoker - 02.04.2019, 15:58
Re: array index out of bounds - by RedFusion - 02.04.2019, 16:32
Re: array index out of bounds - by Viggo - 02.04.2019, 17:33
Re: array index out of bounds - by Viggo - 02.04.2019, 17:45
Re: array index out of bounds - by TheToretto - 02.04.2019, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)