There are no errors.
It must be able to switch between maps_chooser1.ini and maps_chooser2.ini, without forgetting where it had come to.
Code:
//mn (map number)
format(maps_ini_file, 63, "%s/maps_chooser%s.ini", maps_ini_file, mn)
I have chosen to use a file to remember where it has come to.
Code:
format(g_mndb_file, 127, "%s/maps_chooser.dat", g_mndb_file)
....
fprintf(mndb_file, "%s", mn)
....
fgets(mndb_file, mn, 4)
But it does not work.