NorbyN
|
  |
| Joined: 20 Jan 2015 |
| Total Posts: 217 |
|
|
| 03 Apr 2017 09:17 AM |
I'm working in a information board, like the ones in the real life's airports, and I need a script that adds in a textlabel the real time(for GMT). I tried a few scripts, but, most them glitch.
I tried one, and we joined a server, and it displayed right, when we joined in another, it displayed the time wrong.
So, could someone give me a functional script, because, I have no idea how to script one, and the FM's are broken.
|
|
|
| Report Abuse |
|
|
| 03 Apr 2017 09:21 AM |
you want to use os.time()
this is exactly the same as tick() but this is in UTC time,
the reason why your tick() script is different is because different servers MAY have different time zones. |
|
|
| Report Abuse |
|
NorbyN
|
  |
| Joined: 20 Jan 2015 |
| Total Posts: 217 |
|
| |
Atavis
|
  |
| Joined: 10 Apr 2012 |
| Total Posts: 1463 |
|
|
| 03 Apr 2017 09:55 AM |
I think you can also call tick() client sided to get a different time to calling tick() on the server lol.
108,410 slices of pizza and counting! |
|
|
| Report Abuse |
|