2 Problems
#1

Problem Number 1:

I added a in-game clock. Using TogglePlayerClock, the clock gets a minute in about 20 seconds. A way to fix it?

Problem Number 2:

I am logging how long people are in my server, How ever it says their in the server for 15+ hours which there really in there for less then 5 minutes. Could that be caused by the above problem?
Reply
#2

**bump**
Reply
#3

Quote:
Originally Posted by ScottCFR
Посмотреть сообщение
Problem Number 1:

I added a in-game clock. Using TogglePlayerClock, the clock gets a minute in about 20 seconds. A way to fix it?
That is how toggleplayerclock works. It simulates the single player clock.

Quote:

Problem Number 2:

I am logging how long people are in my server, How ever it says their in the server for 15+ hours which there really in there for less then 5 minutes. Could that be caused by the above problem?

Pastebin the code you're using to do this. Doesn't sound like you're calculating it correctly.
Reply
#4

http://pastebin.com/g6M16rsi

No I mean Toggle Player Clock makes the clock go really fast

Like usually it would change the hour in 60 seconds. It takes about 20 Seconds to change the hour.
Reply
#5

Play single player, look at the clock in the top right, see?
Reply
#6

It doesn't go that fast. Go to my server, spawn and you'll see what I mean...

IP is in my signature

EDIT: I noticed if I am in DM or Derby it doesn't make the time go that fast.
Reply
#7

***BumP***
Reply
#8

I suggest you sync the time for every player every 1 second, using SetPlayerTime.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)