Why doesn't it displays?
#1

Why doesn't this displays my server-sided time?

for(new i; i<MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
SetPlayerTime(i,THrs,Tsec);
}
}
Reply
#2

Well, what should it display?
The code you posted just sets everyone's time.
Reply
#3

Well.... It should display the time lol
Reply
#4

https://sampwiki.blast.hk/wiki/TogglePlayerClock
Reply
#5

I read that page already.. so what i'm missing is the update part?
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)