Server GM time is automatically set to night.
#1

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.
Reply
#2

Firstly 24:00 is impossible - it's 0:00.
Secondly, search (Ctrl+F) for SetWorldTime and SetPlayerTime in your scripts.
Reply
#3

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.
Reply
#4

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
Reply
#5

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.
Reply
#6

Check includes.
Reply
#7

These are the only includes I have:
pawn Код:
#include <a_samp>
#include <YSI\y_ini>
Reply
#8

Then you ARE using either SetPlayerTime or SetWorldTime in your script. The time doesn't just get set randomly.
Reply
#9

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.
Reply
#10

Don't worry about it. Glad to help.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)