Posts: 494
Threads: 9
Joined: Feb 2012
Reputation:
0
I've been messing around with my GM and decided to add a few things to a blank GM that I want to build on to eventually become a usable, playable and possibly a releasable script. The issue that I am encountering is that when the player joins the server his time is automatically set to 24:00 which is night time, but I want it to be set to day time, 12:00. The issue with this is that no matter what I try whether it be SetPlayerTime or SetWorldTime it would always reset to night time, if someone can help me with this issue then I'll give them reputation, thanks.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Firstly 24:00 is impossible - it's 0:00.
Secondly, search (Ctrl+F) for SetWorldTime and SetPlayerTime in your scripts.
Posts: 494
Threads: 9
Joined: Feb 2012
Reputation:
0
Well that's the problem you see, when I remove the SetWorldTime and SetPlayerTime I added to the script, then try searching for any others there isn't any but it still sets my time to night.
Posts: 448
Threads: 19
Joined: Jan 2012
Reputation:
0
Do you have any filterscripts going? I have had that problem before couldnt figure it out and forgot my filterscript was setting time and weather on me. Talk about brain fart. lol
Posts: 494
Threads: 9
Joined: Feb 2012
Reputation:
0
I removed all FS's and still nothing, I have no idea what could be causing this :/ Also, when I check the 0.3e SA-MP client to see the world time it says it's 01:00 but yet I set the world time to 12:00.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Then you ARE using either SetPlayerTime or SetWorldTime in your script. The time doesn't just get set randomly.
Posts: 494
Threads: 9
Joined: Feb 2012
Reputation:
0
Problem solved, removed the FS gl_realtime, I can't understand why it only started to use my default time now and not before. Sorry for wasting your time, it's 2:04AM here and in need of sleep, +reputation for both of you for wasting your time.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Don't worry about it. Glad to help.