Posts: 130
Threads: 18
Joined: Jul 2010
Reputation:
0
Why doesn't this displays my server-sided time?
for(new i; i<MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
SetPlayerTime(i,THrs,Tsec);
}
}
Posts: 2,268
Threads: 89
Joined: Apr 2009
Reputation:
0
Well, what should it display?
The code you posted just sets everyone's time.
Posts: 130
Threads: 18
Joined: Jul 2010
Reputation:
0
Well.... It should display the time lol
Posts: 130
Threads: 18
Joined: Jul 2010
Reputation:
0
I read that page already.. so what i'm missing is the update part?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
TogglePlayerClock enables the GTA clock which advances one minute every secnod. If you want to display the real world time you have to create a textdraw and have a repeating timer to update it.