Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- forward wettertimer1();
- forward wettertimer2();
- forward wettertimer3();
- forward wettertimer4();
- #define sunny 30 //Zeit wielange es sonnig sein soll in minuten
- #define rainy 8 //Zeit wielange es regnerisch,stürmisch,gewitter sein soll in minuten
- #define normal 30 //Zeit wielange es normal sein soll in minuten
- #define foggy 9 //Zeit wielange es nebelig sein soll in minuten
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Wettersystem by Scripter4.0");
- print("--------------------------------------\n");
- SetTimer("wettertimer1",sunny*60*1000,false);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public wettertimer1()
- {
- SetWeather(11);
- SetTimer("wettertimer2",sunny*60*1000,false);
- return 1;
- }
- public wettertimer2()
- {
- SetWeather(8);
- SetTimer("wettertimer3",rainy*60*1000,false);
- return 1;
- }
- public wettertimer3()
- {
- SetWeather(10);
- SetTimer("wettertimer4",normal*60*1000,false);
- return 1;
- }
- public wettertimer4()
- {
- SetWeather(9);
- SetTimer("wettertimer1",foggy*60*1000,false);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement