how to set player's time same as world time
#1

how to set player's time same as world time ? my servertime is 01:00 but when I connect server it becomes 12:00 and I want everybody use same clock... I use it :
Код:
#include <time>

forward TimeUpdate();
new worldTime;

public TimeUpdate() {
    worldTime++;
    worldTime%=24;
    SetWorldTime(worldTime);
}

//under gamemode init
    SetTimer("TimeUpdate",65009, 1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)