How to set time to Morning
#1

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

SetWorldTime(7);

This is not the scripting discussion, btw
Reply
#3

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

Delete that mod...
Reply
#5

Lol!! I need that mod! I just want to make time to morning permantly!
Reply
#6

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

Can u explain it? I am new to scripting! I dont know how to run timer?
Reply
#8

Do SetTimer in OnGameModeInit. Forward the Function Name and public it.
Reply
#9

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

Unload the Filterscript 'gl_realtime' it's probably loaded.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)