How I Can Synchronize Server Gametime?
#6

This should do.

pawn Код:
new timeshift = -1;
new shifthour;

forward FixHour(hour);
public FixHour(hour)
{
    hour = timeshift+hour;
    if(hour < 0) { hour = hour+24; }
    else if(hour > 23) { hour = hour-24; }
    shifthour = hour;
    return 1;
}
Reply


Messages In This Thread
How I Can Synchronize Server Gametime? - by spykidz01 - 30.04.2014, 04:29
Re: How I Can Synchronize Server Gametime? - by SickAttack - 30.04.2014, 04:31
Re: How I Can Synchronize Server Gametime? - by spykidz01 - 30.04.2014, 04:39
Re: How I Can Synchronize Server Gametime? - by SickAttack - 30.04.2014, 04:45
Re: How I Can Synchronize Server Gametime? - by itsCody - 30.04.2014, 04:51
Re: How I Can Synchronize Server Gametime? - by AndySedeyn - 30.04.2014, 05:12
Re: How I Can Synchronize Server Gametime? - by spykidz01 - 30.04.2014, 05:12
Re: How I Can Synchronize Server Gametime? - by AndySedeyn - 30.04.2014, 05:18
Re: How I Can Synchronize Server Gametime? - by spykidz01 - 30.04.2014, 05:40
Re: How I Can Synchronize Server Gametime? - by spykidz01 - 30.04.2014, 05:44

Forum Jump:


Users browsing this thread: 2 Guest(s)