29.05.2009, 14:15
You obviously don't know the format dini takes:
dini_Set(filename[], key[], value[])
In your case, I think you're after:
dini_IntSet(filename[], key[], value)
dini_IntSet(dinipath, "car", i-100)
EDIT: Previous posters solutions saves it as a string, mine saves it as an integer... =/ s'up to you.
dini_Set(filename[], key[], value[])
In your case, I think you're after:
dini_IntSet(filename[], key[], value)
dini_IntSet(dinipath, "car", i-100)
EDIT: Previous posters solutions saves it as a string, mine saves it as an integer... =/ s'up to you.