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