argument type mismatch
#7

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
Reply


Messages In This Thread
argument type mismatch - by Seven. - 22.09.2010, 12:19
Re: argument type mismatch - by Mauzen - 22.09.2010, 12:29
Re: argument type mismatch - by Seven. - 22.09.2010, 12:32
Re: argument type mismatch - by Mauzen - 22.09.2010, 12:33
Re: argument type mismatch - by Seven. - 22.09.2010, 12:38
Re: argument type mismatch - by Seven. - 23.09.2010, 14:01
Re: argument type mismatch - by Mauzen - 23.09.2010, 15:56
Re: argument type mismatch - by Seven. - 23.09.2010, 16:48
Re: argument type mismatch - by Mauzen - 23.09.2010, 16:54

Forum Jump:


Users browsing this thread: 3 Guest(s)