#1

Removed
Reply
#2

DUMP
Reply
#3

You have to synchronise the clock with SetPlayerTime (run a timer every second to increase your time and virtualise a clock)
Reply
#4

Removed
Reply
#5

pawn Код:
new gHour, gMin;
onGameModeInit() { SetTimer("Timer", 1000, true); }
public Timer() {
    gMin++;
    if(gMin == 60) {
        gMin = 0;
        gHour++;
        if(gHour == 24) gHour = 0;
    }
    SetTime(gHour, gMin);
}
Not sure about the SetTime part. Can't remember the actual function. Maybe loop through all players and then SetPlayerTime or something. You got to figure that out on your own
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)