Posts: 8
Threads: 1
Joined: Dec 2010
Reputation:
0
Can anyone tell me how to set my server time to 07:00 AM or any other morning time? PERMANTLY!!! bcux my time changes!!! can anyone help? I m just a beginer.
Thanks
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
SetWorldTime(7);
This is not the scripting discussion, btw
Posts: 8
Threads: 1
Joined: Dec 2010
Reputation:
0
It doesnt worked! The game mod I have changes time automatically, REAL TIME!!! /time.
I placed SetWorldTime(7); in public OnGameModeInit() but its not working! the time is again reaL!! not morning!
Posts: 8
Threads: 1
Joined: Dec 2010
Reputation:
0
Lol!! I need that mod! I just want to make time to morning permantly!
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
Run a timer and set the world time again every 30 seconds or so, that should do the trick (Guaranteed your mod does have that support for SA:MP)
Posts: 8
Threads: 1
Joined: Dec 2010
Reputation:
0
Can u explain it? I am new to scripting! I dont know how to run timer?
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Do SetTimer in OnGameModeInit. Forward the Function Name and public it.
Posts: 8
Threads: 1
Joined: Dec 2010
Reputation:
0
No guys its not working!! The time is still the real one! How to forward function name? Can u tell me how it will look?
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Unload the Filterscript 'gl_realtime' it's probably loaded.