29.12.2013, 10:33
Two numbers:
Three numbers:
This is just an easy example, I think there would of been functions written for this kind of thing, but this is the most simple way of doing it.
--
Alternatively, just ask me what you want added into the command and I'll gladly add it for you. I will explain the code in a PM if you wish.
pawn Код:
if(restarth > 9 || restartm > 9) //Either minutes or hours is 10+, more than 1 number.
pawn Код:
if(restarth > 99 || restartm >> 99) //Either minutes or hours is 100+, more than 2 numbers.
--
Alternatively, just ask me what you want added into the command and I'll gladly add it for you. I will explain the code in a PM if you wish.