28.01.2014, 17:28
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.
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..