Gettime (Automatic Gamemoderestart)
#1

Hi Guys,

Sorry for my verry bad english.


Also, i will create a Automatic Gamemode Restart.
He should be every night at 4 clock.

This is my Code:

Код:
			new hour,minuite,second;
			gettime(hour,minuite,second);
			FixHour(hour);
			hour = shifthour+1;
            if(hour >= 4 && minuite <=9)
			{
			  SendClientMessage(playerid, COLOR_GRAD2,"Gamemode Restart.");
              SendRconCommand("gmx");
			  return 1;
			}
I tried it with a timer.
But it comes every half-second of the text: Gamemoderestart and the server restarts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)