18-11-2007, 03:51 PM
William Wrote:Make sure .Sprite is either a byte or a long.
Try adding val(), Int() or CInt() to your getvar.
I changed it too;
Race(i).Sprite = CInt(GetVar(FileName, "RACE" & i, "Sprite"))
and i'm still getting the error... Any Ideas?
Sonire Wrote:Make sure you defined .Sprite in the Race RecYes. Ive done that.