View Single Post
Old 17/01/2020, 07:52 PM   #10
PPC23
Little Clucker
 
Join Date: Feb 2013
Posts: 28
Reputation: 9
Default Re: Make the world time the same for everyone

Minutes doesn't change the sky, they change only the clock. If the time is 10:00 or 10:59 - it will be the same. The sky will change at 11, etc..

You can use this to set the hour and minutes for all the players to match the clock:
pawn Code:
#undef SetWorldTime
#define SetWorldTime(%1, %2) for(new i = 0,j = GetPlayerPoolSize();i <= j;i++) if(IsPlayerConnected(i)) SetPlayerTime(i, %1, %2);
Minutes doesn't matter to the sky neither in SetWorldTime or SetPlayerTime.
PPC23 is offline   Reply With Quote