keeps telling me i didn't set record..
#1

I have set recordtimeminute to 10, recordtimeseconds to 0.

gCounting[0] = minutes, gCounting[1] = seconds.
** each 60 seconds, gCounting[0] will ++;

pawn Код:
if(gCounting[0] < dini_Int(str,"recordtimeminute") && gCounting[1] < dini_Int(str,"recordtimeseconds"))
    {
        if(gCounting[0] == dini_Int(str,"recordtimeminute") && gCounting[1] < dini_Int(str,"recordtimeseconds"))
        {
    //setting record etc.
        }
    }
    else
    {
    SendClientMessage(playerid, white, "Sorry, you haven't set a new record! Next time more luck.");
    }
}
My problem is, everytime i finish it tell's me i didn't have set a new record while my time is inside the 10 minutes. :S
Reply


Messages In This Thread
keeps telling me i didn't set record.. - by Seven. - 21.12.2010, 12:28
Re: keeps telling me i didn't set record.. - by JaTochNietDan - 21.12.2010, 12:30
Re: keeps telling me i didn't set record.. - by Seven. - 21.12.2010, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)