Timestamp in certain time
#1

Hi guys,

Is possible to make something like this(I'm try to search plugin/include with which I can do this,but unsuccessfully.

For example:
Mayor(RP server) get dialog where he can pick time when want that some "event" start(Auction,RP Events etc)

Quote:

Monday 20:00
Tueseday 20:00
Wednesday 20:00
Thursday 20:00
Friday 20:00
Saturday 20:00
Sunday 20:00

Or maybe,if today is 22.11,he get

Quote:

23.11 20:00
24.11 20:00
25.11 20:00
26.11 20:00
27.11 20:00
28.11 20:00

And I want to get from this time in timestamp if it's possible.
Or if you have any other "suggestion" how I can make that he can pick time which he want.

I know that I can make this:
variable = gettime() + 86400
But with this i will get 23.11.2018 in 09:51 ..But i want that it start in certain time(20h,21h etc not in random time)

I hope you can understand me.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=254915
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)