21.04.2012, 23:33
(
Последний раз редактировалось ThomasTailor93; 22.04.2012 в 02:44.
)
Hello guys,
I want to convert a timestamp to a hour, minute and second countdown in SA:MP, (xx hours, xxminutes and xxseconds left to the next period) but I don't know how. Does anyone know, how it works? I thanks for any reply.
Regards, ThomasTailor93
------------------------------------------------------------------------------------------
Ok, well. I think, I need to explain a bit more (just my fault for bad explanation).
I've muted a guy for 500 minutes (~ 8,3** hours).
Time, when I muted him: 1335060000 (4:00am CET)
Time, when he become unmuted: 1335090000 (12:20pm CET)
Now It is 5:00am CET and the muted guy wants to know, how long he is muted. So he checks it with /mutetime and the server will tell: "You are in 7 hours, 20 minutes and 0 seconds unmuted."
I really don't know how to do it in PAWN. I hope, anyone can help me.
Regards, ThomasTailor93
I want to convert a timestamp to a hour, minute and second countdown in SA:MP, (xx hours, xxminutes and xxseconds left to the next period) but I don't know how. Does anyone know, how it works? I thanks for any reply.
Regards, ThomasTailor93
------------------------------------------------------------------------------------------
Ok, well. I think, I need to explain a bit more (just my fault for bad explanation).
I've muted a guy for 500 minutes (~ 8,3** hours).
Time, when I muted him: 1335060000 (4:00am CET)
Time, when he become unmuted: 1335090000 (12:20pm CET)
Now It is 5:00am CET and the muted guy wants to know, how long he is muted. So he checks it with /mutetime and the server will tell: "You are in 7 hours, 20 minutes and 0 seconds unmuted."
I really don't know how to do it in PAWN. I hope, anyone can help me.
Regards, ThomasTailor93