diegofkda Posted June 27, 2011 Share 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. Link to comment
BinSlayer1 Posted June 27, 2011 Share Posted June 27, 2011 well.. doesn't the serverside function setTime() do that? https://wiki.multitheftauto.com/wiki/SetTime Link to comment
diegofkda Posted June 27, 2011 Author Share 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. Link to comment
JR10 Posted June 27, 2011 Share Posted June 27, 2011 If you used getRealTime() it should get the real time and already synced for all players. Link to comment
DiSaMe Posted June 28, 2011 Share 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. Link to comment
eAi Posted June 28, 2011 Share Posted June 28, 2011 The time is already synced by MTA, or at least it used to be... Link to comment
diegofkda Posted June 28, 2011 Author Share Posted June 28, 2011 It's not synced. Anyway, timers should help. Link to comment
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