how to Save server time?
#8

Set SetWorldTime( 23); inside a timer, that sets the time 23 always.
pawn Код:
forward SettingTime();
public SettingTime()
{
     SetWorldTime( 23);
     return 1;
}
and in OnGameModeInit:
pawn Код:
SetTimer("SettingTime", 600000, 1); // This will set time to 23 every 10 minuttes
preferably put SetWorldTime( 23); inside another timer you have
Reply


Messages In This Thread
how to Save server time? - by DexToxz - 21.11.2011, 13:11
Re: how to Save server time? - by Richie - 21.11.2011, 13:14
Re: how to Save server time? - by DexToxz - 21.11.2011, 13:17
Re: how to Save server time? - by Richie - 21.11.2011, 13:18
Re: how to Save server time? - by Elorreli - 21.11.2011, 13:20
Re: how to Save server time? - by DexToxz - 21.11.2011, 13:27
Re: how to Save server time? - by DexToxz - 21.11.2011, 15:12
Re: how to Save server time? - by Richie - 21.11.2011, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)