real time
#1

hello, i hope u can help me.

if it 6-7-8 o clock (evening) its to light! How can i set that at 6 (evening) is darker?

pls help!
Reply
#2

pls help!
Reply
#3

First: Search.
Second: If you look at wiki you could learn more:wiki.sa-mp.com
Third: Create a timer to change the wheater every 1 minute ( 1 hour in game )

I am posting cuz anyone here readed my problem . so i am helping you.
Reply
#4

http://forum.sa-mp.com/index.php?topic=81600.0
http://forum.sa-mp.com/index.php?topic=33480.0

I found only using serach ...
Reply
#5

i dont want a clock i want that its darker when its 6 o clock evenings!
Reply
#6

Quote:
Originally Posted by DauerDicht
i dont want a clock i want that its darker when its 6 o clock evenings!
Код:
forward TOD();

(ongamemodeinit)
SetTimer("TOD", 5000, 1);

public TOD()
{
 new hours,minutes,seconds;
 GetTime(hours, minutes, seconds);
 SetWorldTime(hours);
 return 1;
}
Reply
#7

where i must place it?!
Reply
#8

gettime function gets the time where the server hosted. Same about the SetWorldTime, it sets the world time exactly like you see out of your window.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)