Error with clock/time
#1

Ok, I want my clock to have a automatic day/night loop (I think it is by default)
When i spawn, my clock shows 0, when it should show something else because i dont spawn directly after the server starts >_>
And when i die, then spawn again, the clock has gone forward by 12 hours, how to prevent this?
pawn Код:
public OnGameModeInit()
{
  SetWorldTime(0);
}

public OnPlayerSpawn(playerid)
{
  TogglePlayerClock(playerid, true);
  return 1;
}
Reply


Messages In This Thread
Error with clock/time - by bajskorv123 - 23.02.2010, 09:37
Re: Error with clock/time - by lameguy - 23.02.2010, 16:20
Re: Error with clock/time - by Jakku - 25.02.2010, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)