hello world i need little help
#2

Explain with more details
PS: I'm back.

EDIT:
On top of script
Код:
new changedtime, Time;
In the function which is running with a timer of 2 second

Код:
if(gettime() - changedtime > 12000)
{
     foreach(Player, i)
     {
          if(Time > 24) Time = 1;
          else Time++;
          SetPlayerTime(i, Time, 0);
          changedtime = gettime();
     }
}
2ND EDIT:
https://sampwiki.blast.hk/wiki/SetWorldTime is the best stuff
Reply


Messages In This Thread
hello world i need little help - by Bojaa - 27.02.2017, 20:28
Re: hello world i need little help - by Ultraz - 27.02.2017, 20:37
Re: hello world i need little help - by Bojaa - 28.02.2017, 11:37
Re: hello world i need little help - by Sew_Sumi - 28.02.2017, 12:22
Re: hello world i need little help - by Vince - 28.02.2017, 18:21
Re: hello world i need little help - by Sew_Sumi - 28.02.2017, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)