[HELP] Weather time
#1

Hello I work weather and know how can I make example it's 12:00 and I want then put text Good day that is for I don't know from 07-18 then in that time I want the text good day and from 18:00 do 06:00 it say's good evening if you know what I mean and alo for weather how can I make for example this

current weather is: sunny and it set to sunny weather
the weather in next five minutes is : rainy and again it says current weather is rainny and again like this the weather in next fice minutes is: foggy and again current weather is foggy and etc...
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerTime for the first one
Reply
#3

https://sampwiki.blast.hk/wiki/SetWorldTime
https://sampwiki.blast.hk/wiki/SetWeather

Those are good starting points, I guess.

Plus, I cant understand you too much, but what you want is basically from 07:00 to 18:00 you want it to say "Good Day" and then from 18:00 to 6:00 it'd say "Good Evening", right? If so, you would also need to do that using textdraws.
Reply
#4

Anyone? Thanks
Reply
#5

Anyone? Thanks
Reply
#6

Anyone?
Reply
#7

You can do like this:

pawn Код:
new hour, minutes;
GetPlayerTime(playerid, hour, minutes);

switch(hour)
{
    case 12: SendClientMessage(playerid, -1, "Good day!");
    case 18: SendClientMessage(playerid, -1, "Good Evening");
}
About the weather, you can try mWeather by Mauzen https://sampwiki.blast.hk/wiki/Mweather
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)