Problem with syntax "TIME" on MySQL.
#9

It was just my suggestion, if you hae a secondTimer in your script you can use.

pawn Код:
new pSecTime[MAX_PLAYERS];

public SecondTimer()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && pInfo[playerid][pLogged] == 1)
        {
            pSecTime[i]++;
            if(pSecTime[i] == 60)
            {
                pSecTime[i] = 0;
                pTime[i]++;
            }
        }
    }
}
Like i said it's just my suggestion
Reply


Messages In This Thread
Problem with syntax "TIME" on MySQL. - by Edvin - 04.11.2012, 11:48
Re: Problem with syntax "TIME" on MySQL. - by Edvin - 04.11.2012, 12:10
Re: Problem with syntax "TIME" on MySQL. - by [DOG]irinel1996 - 04.11.2012, 12:21
Re: Problem with syntax "TIME" on MySQL. - by Vince - 04.11.2012, 12:40
Re: Problem with syntax "TIME" on MySQL. - by Edvin - 04.11.2012, 12:45
Re: Problem with syntax "TIME" on MySQL. - by [DOG]irinel1996 - 04.11.2012, 12:49
AW: Problem with syntax "TIME" on MySQL. - by Skimmer - 04.11.2012, 12:50
Re: AW: Problem with syntax "TIME" on MySQL. - by Edvin - 04.11.2012, 12:59
AW: Problem with syntax "TIME" on MySQL. - by Skimmer - 04.11.2012, 13:11

Forum Jump:


Users browsing this thread: 1 Guest(s)