Question about timers/time
#1

I set that when its 00:00 all players get extra point for being in game at that time.

Question is, while I'm afk and I get 10 minutes after 00:00 message that I got point for being at 00:00 active.

So I'm afk, I should get message at 00:00 no matter what, but if I'm afk I will get message when I come ingame (in this example after 10 minutes I'll get at 00:10).

Any ideas?


PHP код:
new yearmonthdayhoursminutesseconds;
    
getdate(yearmonthday), gettime(hoursminutesseconds);
    if(
hours == && minutes == && seconds == 0)
    {
        foreach(
Playeri
        {
            
SendClientMessage(iCOLOR_NOTIFICATION"SERVER: Extra point for being online at {EEEEEE}00:00{F39746}.");
        }
    } 
This is under timer that is called every second.
Reply


Messages In This Thread
Question about timers/time - by Saddin - 18.11.2017, 20:55
Re: Question about timers/time - by RedFusion - 18.11.2017, 21:00
Re: Question about timers/time - by Saddin - 18.11.2017, 21:02
Re: Question about timers/time - by RedFusion - 18.11.2017, 21:05
Re: Question about timers/time - by Saddin - 18.11.2017, 21:06
Re: Question about timers/time - by RedFusion - 18.11.2017, 21:08
Re: Question about timers/time - by Saddin - 18.11.2017, 21:17
Re: Question about timers/time - by RedFusion - 18.11.2017, 21:21
Re: Question about timers/time - by Lucases - 19.11.2017, 08:53

Forum Jump:


Users browsing this thread: 2 Guest(s)