Real world weather help
#1

I want to add realword weather to my script, whats the code to use?
Reply
#2

pawn Код:
SetWeather(weatherid);
Reply
#3

You can get Weather Ids from here https://sampwiki.blast.hk/wiki/WeatherID
Or here with pictures http://weedarr.wikidot.com/weather
Reply
#4

thanks but what i ment was if its raining here in ireland that it will be raining on gta, on microsoft flight sim they have it set up, it downloads weather from a website, someone help me out?
Reply
#5

MS flight sim is something different than samp
Well, now with the http support it should be possible, a nice idea. You would have to request the current weather on any weather website for a specific location (either submit the location via the url or post, depends on the site)
Then you need to filter the weather out of the html page, this could be quite tricky.
At last, compare the weather to all possible weather strings that the page can show, to find out, what weather it is.
Reply
#6

Well, You can use a File to put the weather forecast in it, Maybe you can make something like that, That would be cool
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)