29.12.2013, 15:08
Hello guys. I need to help with math.. xD
I will explain what I need. I have command, in that command as params I am writing seconds. And I need to make from these seconds the minutes. For example: player type /command 60 and I need to make so mod will write to me it is one minute, or /command 120 mod will write 2 minutes. Now harder part: When player type /command 70 I need to make 1 minute and 10 seconds.. Hope you understand!
I will explain what I need. I have command, in that command as params I am writing seconds. And I need to make from these seconds the minutes. For example: player type /command 60 and I need to make so mod will write to me it is one minute, or /command 120 mod will write 2 minutes. Now harder part: When player type /command 70 I need to make 1 minute and 10 seconds.. Hope you understand!
