Skip to content

Gamemode for GT-MP. Synchronizes ingame weather to real weather of a city of your choice in defined time intervals.

License

Notifications You must be signed in to change notification settings

Silberling/gtmp-openweathermap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gtmp-openweathermap

Description

Gamemode for setting ingame weather to real weather of a city of your choice in defined time intervals.

Installation

  1. Place the OpenWeatherMap folder in the resources directory
  2. I tend to compile every gamemode. With current meta.xml you'll have to compile the code in release mode or modify the meta.xml to use the source files directly.
  3. Edit settings.xml and add <resource src="OpenWeatherMap" />
  4. Sign up at http://openweathermap.org/ and get an appid
  5. Edit meta.xml and set the value of setting name="owm_appId"

Using Forecasts

Send OWM_GET_FORECAST with no content. You will receive OWM_FORECAST with a serialized JSON object. See the example included.

Contribution

If you find bugs, just tell me. If you'd like to improve or extend the code, just fork this repo and share it back.

Support

I made this gamemode for fun. If you'd like to support somebody, support the guys and gals which made the server software at https://gt-mp.net/

About

Gamemode for GT-MP. Synchronizes ingame weather to real weather of a city of your choice in defined time intervals.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published