23.09.2010, 15:56
If I understand your code correctly, you have the players time in gCounting[0/1] and want to check, if this is shorter than the time stored in the file.
But in this line (also in the next one)
if(gCounting[0] < dini_Int("highb.ini", "gCounting[0]")) return 1;
you return 1 and end the function if it is shorter, so the players time would need to be longer than the saved record.
Swap < with > then. But maybe it is correct that way, if a longer time is better
But in this line (also in the next one)
if(gCounting[0] < dini_Int("highb.ini", "gCounting[0]")) return 1;
you return 1 and end the function if it is shorter, so the players time would need to be longer than the saved record.
Swap < with > then. But maybe it is correct that way, if a longer time is better