diegofkda Posted June 27, 2011 Posted June 27, 2011 Do someone know how to sync the hour and mins between players? as I can see, the hour is different between players, the hour depends of the FPS. "Everything exists, because otherwise nothing would", Bob Marley, 2015.
BinSlayer1 Posted June 27, 2011 Posted June 27, 2011 well.. doesn't the serverside function setTime() do that? https://wiki.multitheftauto.com/wiki/SetTime
diegofkda Posted June 27, 2011 Author Posted June 27, 2011 I explained fine... Sync the hour and mins between players, I mean, display the same hour for all players, but the hour depends of the FPS, its not the same hour for all players. "Everything exists, because otherwise nothing would", Bob Marley, 2015.
JR10 Posted June 27, 2011 Posted June 27, 2011 If you used getRealTime() it should get the real time and already synced for all players. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
DiSaMe Posted June 28, 2011 Posted June 28, 2011 BinSlayer1 already wrote what's the solution. Use SetTime. You can make a timer which updates time every minute, that should be enough. -
eAi Posted June 28, 2011 Posted June 28, 2011 The time is already synced by MTA, or at least it used to be...
diegofkda Posted June 28, 2011 Author Posted June 28, 2011 It's not synced. Anyway, timers should help. "Everything exists, because otherwise nothing would", Bob Marley, 2015.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now