Posts: 576
Threads: 131
Joined: May 2010
Reputation:
0
Hello i use realtime but dont work. I put him in my gamemode but still dont works. Need me something to sync my time on the computer and to set it in the game and to set the weather as like is the time. Please help me!
Posts: 3,004
Threads: 12
Joined: May 2011
Can you be more specific ?
What doesn't work ?
It doesn't show, it shows incorrect time, it doesn't set the time
My guess would be array mistype
Quote:
if (realtime)
{
new tmphour;
new tmpminute;
new tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
FixHour(tmphour);
tmphour = shifthour;
SetWorldTime(tmphour);
}
gettime(hour, minute);
SetPlayerTime(playerid,hour,minute);
|