04.11.2014, 18:37
IMO you can do something like this:
pawn Код:
// on top
new DecreaseTime;
// in your public
DecreaseTime = GetTickCount(); // saving time of last decrease
// in your command
new x = 1800000 - (GetTickCount() - DecreaseTime); // 1800000 ms = 30 mins
// now "x" is your left time (in ms)