18-11-2007, 05:04 PM
William Wrote:Check so your FileName = App.Path & "\races.ini" is correct.
And check that you actually have [Race] and Sprite= in the races.ini
Did that. Then changed it too;
Race(i).Sprite = Val(GetVar(FileName, "RACE" & i, "Sprite"))
And it worked!
Thanks for the help!!!!