SA-MP Forums Archive
mysql timer question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: mysql timer question (/showthread.php?tid=178444)



mysql timer question - iJumbo - 22.09.2010

hi i make this code
pawn Код:
forward Time(playerid);
public Time(playerid)
{
    Minutes[playerid]++;
    if(Minutes[playerid] == 60)
    {
        Hours[playerid]++;
        Minutes[playerid] = 0;
    }
}
how to save in mysql the hr and min like hr.mins


Re: mysql timer question - DeathOnaStick - 23.09.2010

Search for a tutorial and learn. Nobody will make scripts for you, except when you post it in a script request thread.