RivaldisR Posted June 14, 2018 Posted June 14, 2018 Servers starts but when you logging in on login screen I am keep getting this error Here is the code // Set the hour from the server let time = serverTime.split(':'); let hours = parseInt(time[0]); let minutes = parseInt(time[1]); let seconds = parseInt(time[2]); mp.game.time.setClockTime(hours, minutes, seconds);
MrPancakers Posted June 15, 2018 Posted June 15, 2018 Like the error says serverTime = null meaning it has no value. You need to debug how you're assigning a value to serverTime because it has no value when you're using it.
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