View Single Post
xerox8521
Senior Member
Join Date: Sep 2011
Old 10-25-2020 , 09:17   Re: Invalid index -1 (count: 100)
Reply With Quote #3

The problem is the order of the Erase statements. You are deleting it from ga_SteamIds and a line below you try to access that entry you just deleted. Just swap the last 2 Erase statements.

Although you probably want to cache the value of .FindString temporarily instead of calling .FindString 3 times.

Last edited by xerox8521; 10-25-2020 at 09:19.
xerox8521 is offline