#include <time>forward TimeUpdate();new worldTime;public TimeUpdate() { worldTime++; worldTime%=24; SetWorldTime(worldTime);}//under gamemode init SetTimer("TimeUpdate",65009, 1);