11.05.2014, 00:37
You could check with a one second timer and GetTickCount:
pawn Код:
//above main()
new tick, NextCheck;
//In OnGameModeInit:
SetTimer(....); // with 1 sec interval
//In your one second function being called by SetTimer:
tick = GetTickCount();
if(tick - NextCheck > 3600000) //3600000 = 1 hour
{
//your code... so calling a function (PayCheck) or something
NextCheck = tick;
}

