Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <core>
- #include <float>
- public OnGameModeInit()
- {
- SetTimer("ElegyWeather", 60000, true);
- return 1;
- }
- public ElegyWeather()
- {
- new var0 = random(49);
- switch(var0) {
- case 0:
- SetWeather(1);
- case 1:
- SetWeather(2);
- case 2:
- SetWeather(3);
- case 3:
- SetWeather(4);
- case 4:
- SetWeather(5);
- case 5:
- SetWeather(6);
- case 6:
- SetWeather(7);
- case 7:
- SetWeather(8);
- case 8:
- SetWeather(9);
- case 9:
- SetWeather(10);
- case 10:
- SetWeather(11);
- case 11:
- SetWeather(12);
- case 12:
- SetWeather(13);
- case 13:
- SetWeather(14);
- case 14:
- SetWeather(15);
- case 15:
- SetWeather(16);
- case 16:
- SetWeather(17);
- case 17:
- SetWeather(18);
- case 18:
- SetWeather(19);
- case 19:
- SetWeather(20);
- case 20:
- SetWeather(21);
- case 21:
- SetWeather(22);
- case 22:
- SetWeather(23);
- case 23:
- SetWeather(24);
- case 24:
- SetWeather(25);
- case 25:
- SetWeather(26);
- case 26:
- SetWeather(27);
- case 27:
- SetWeather(28);
- case 28:
- SetWeather(29);
- case 29:
- SetWeather(30);
- case 30:
- SetWeather(31);
- case 31:
- SetWeather(32);
- case 32:
- SetWeather(33);
- case 33:
- SetWeather(34);
- case 34:
- SetWeather(35);
- case 35:
- SetWeather(36);
- case 36:
- SetWeather(37);
- case 37:
- SetWeather(38);
- case 38:
- SetWeather(39);
- case 39:
- SetWeather(40);
- case 40:
- SetWeather(41);
- case 41:
- SetWeather(42);
- case 42:
- SetWeather(43);
- case 43:
- SetWeather(44);
- case 44:
- SetWeather(45);
- case 45:
- SetWeather(46);
- case 46:
- SetWeather(47);
- case 47:
- SetWeather(48);
- case 48:
- SetWeather(49);
- case 49:
- SetWeather(50);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment