18.04.2013, 21:21
oldTimeStamp is time(stamp) when you hit first time command
secondsToWait is time in seconds that need to pass
timeStampNow is gettime() in this moment(moment of check )
secondsToWait is time in seconds that need to pass
timeStampNow is gettime() in this moment(moment of check )
pawn Код:
if((oldTimeStamp + (secondsToWait) ) <= timeStampNow)
{
//time passed
}
else
{
//not passed
}