real time in gm
#1

how can i add real time to my server.

For exam. If time is 21.02 in real world i wanna make the server time 21.02 auto.

plz help
Reply
#2

Really easy,I'll give you an example
Код:
public PlayersTime()
{
  for(new i = 0; i < ID; i++)
	{
		GetPlayerTime(i, hours, minutes);
		SetPlayerTime(i, hours, minutes +1);
	}
	return 1;
}

public PlayersHour()
{
  for(new i = 0; i < ID; i++)
	{
		GetPlayerTime(i, hours, minutes);
		SetPlayerTime(i, hours +1, minutes);
	}
	return 1;
}
Else is just textdraw and a little more work.

Ecko
Reply
#3

thx
Reply
#4

Quote:
Originally Posted by xCoder
thx
You welcome

Ecko
Reply
#5

Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)