22.05.2010, 08:13
How do make it only 1 hour (Taking In Real Life time) or checking if :00 then comes payday?
Originally Posted by ViruZZzZ_ChiLLL
Yeah, 60000 = 1 minute * 60 = 60minutes.
I think... |
new t[3];
gettime(t[0], t[1], t[2]);
if(t[1] == 0)
{
PayDay();
}
Originally Posted by Picharelo
Quote:
Like, i create server in time 21:52 then 22:52 comes payday..? NOT, only :00, like 22:00, 23:00 |
Originally Posted by //exora
pawn Код:
Refer to https://sampwiki.blast.hk/wiki/gettime |
SetTimer("MinutesToPayday", 55000, 1);