SA-MP Forums Archive
[FilterScript] [RSW] Real Weather in SA-MP [PAWN] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [RSW] Real Weather in SA-MP [PAWN] (/showthread.php?tid=444070)

Pages: 1 2


[RSW] Real Weather in SA-MP [PAWN] - xDarkuzSx - 15.06.2013

Real SA-MP Weather
R.S.W - Beta 1
What Is It?

Gets, selects and sets the weather of a particular city in the world.
For example, in Los Angeles, if it is sunny, your server will be sunny, very good for RP servers.


How does it work?

The server performs an HTTP request to Yahoo Weather to get the accurate weather for this city, the data are stored in a variable, which will be used later to set the weather of this city on the server.

What I Need?

• Additional include "a_http.inc"

How to Install?
  1. Open & Compile the file RSW.pwn
  2. Copy the file "RSW.amx" to the filterscripts folder.
  3. Place in the server.cfg -> filterscripts line: RSW
  4. Start the server.
  5. [Last]: Enjoy with the Real Weather in SA:MP.



DOWNLOAD
Links Updated at 03.22.2014
.pwn & .amx Files: SolidFiles | .pwn Paste2.org (Pastebin)


DOWNLOAD [PHP]
Links Updated at 09.02.2014
.php & .inc Files: SolidFiles

Credits


ALL FilterScript: Modification & Adaptation: xDarkuzSx
Code Base: The_Scope (TOPIC)
Code of the API: Yahoo Developers
P.D: The PHP code contains some variables to get the real hour but is unfinished, if anyone can finish it and share it, 're welcome.. (:

HOW TO GET THE COUNTRY CODE FROM YAHOO

You can get the country code in this page:
http://www.weather.com/news/tornado-...r-tracker-page
In the search bar, put your country / city name and click it.

after click it, you will get something like this: (in the page url)
http://www.weather.com/weather/today/MXJO0043
The code what you need for the script is: "MXJO0043".
Enjoy.


Re: [RSW] Real Weather in SA-MP [PAWN] - FlamingRedz - 15.06.2013

Wow Very Nice, Rep+


Re: [RSW] Real Weather in SA-MP [PAWN] - XtremeR - 15.06.2013

Great idea! it would be even better if you uploaded some pics, anyways +3 reps.


Re: [RSW] Real Weather in SA-MP [PAWN] - TheChimpJr - 15.06.2013

Not bad.


Re: [RSW] Real Weather in SA-MP [PAWN] - Matt - 15.06.2013

that's pretty cool


Re: [RSW] Real Weather in SA-MP [PAWN] - Jizz - 15.06.2013

pretty awesome

And also add Real Time in SAMP


Respuesta: Re: [RSW] Real Weather in SA-MP [PAWN] - xDarkuzSx - 15.06.2013

Quote:
Originally Posted by Jizz
View Post
pretty awesome

And also add Real Time in SAMP
yea, I try add this idea in the next release.
p.d: thanks all


Respuesta: [RSW] Real Weather in SA-MP [PAWN] - Parka - 15.06.2013

nice!


Re: [RSW] Real Weather in SA-MP [PAWN] - ahmad95 - 15.06.2013

Very Nice ! +rep


Re: [RSW] Real Weather in SA-MP [PAWN] - Yves - 15.06.2013

i hope this is good i will be using it awsome work mate.


Re: [RSW] Real Weather in SA-MP [PAWN] - gogokickup - 16.06.2013

Nice work
May use it


Re: [RSW] Real Weather in SA-MP [PAWN] - Akcent_Voltaj - 21.06.2013

i got it compiled when I started server I got
Quote:

I Can't Get Real Weather, ERROR CODE: 6 in samp log




Re: [RSW] Real Weather in SA-MP [PAWN] - [UG]Daniel - 21.06.2013

Fix the download link please
Otherwise, it is nice (:


Re: [RSW] Real Weather in SA-MP [PAWN] - Inverse - 21.06.2013

Excellent idea! I would love to see this get implemented in roleplay servers.


Re: [RSW] Real Weather in SA-MP [PAWN] - iHaze. - 21.06.2013

Pretty awesome.


Re: [RSW] Real Weather in SA-MP [PAWN] - kN1GhT - 07.07.2013

Really creative and nice work mate!!
Good going


Re: [RSW] Real Weather in SA-MP [PAWN] - Ragazzo - 08.07.2013

Please reupload the file


Re: [RSW] Real Weather in SA-MP [PAWN] - Ryan_Bowe - 08.07.2013

Nevermind, found out that the Download Files don't work.


Re: [RSW] Real Weather in SA-MP [PAWN] - iTheScripter - 08.07.2013

nice work


Respuesta: [RSW] Real Weather in SA-MP [PAWN] - Swedky - 08.11.2013

Wooooaaaahhh! Excellent!!!