Crashdetect Array Index out of bounds.
#4

listitem is -1. What's the line 605?

Before using listitem inside [] in the array HelpMeListItem, you should check if the value is not out of bounds.
pawn Код:
if (0 <= listitem < 25)
{
    // you can use listitem in HelpMeListItem with safety here
}
else return // error..
Reply


Messages In This Thread
Crashdetect Array Index out of bounds. - by [WSF]ThA_Devil - 28.01.2014, 17:09
Re: Crashdetect Array Index out of bounds. - by Konstantinos - 28.01.2014, 17:12
Re: Crashdetect Array Index out of bounds. - by [WSF]ThA_Devil - 28.01.2014, 17:24
Re: Crashdetect Array Index out of bounds. - by Konstantinos - 28.01.2014, 17:28
Re: Crashdetect Array Index out of bounds. - by [WSF]ThA_Devil - 28.01.2014, 17:32

Forum Jump:


Users browsing this thread: 2 Guest(s)