Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- forward Vrijeme();
- #define FILTERSCRIPT
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_YELLOW 0xFFFF00AA
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("Vremenska Prognoza");
- print("--------------------------------------\n");
- SetTimer("Vrijeme", 13, 1);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public Vrijeme() {
- new rnd = random(108000);
- switch(rnd)
- {
- case 0:
- {
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti | Sledi: Vremenska prognoza.");
- SendClientMessageToAll(COLOR_YELLOW,"{6EF83C}Vesti |{FFFFFF} Dragi slusaoci, vreme ocekivano za narednih pola sata je:Suncano");
- SetWeather(1);
- }
- case 1:
- { SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti | Sledi: Vremenska prognoza.");
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti | {FFFFFF}Dragi slusaoci, vreme ocekivano za narednih pola sata je:Oblacno i Tmurno.");
- SetWeather(16);
- }
- case 2:
- {
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti | Sledi: Vremenska prognoza.");
- SendClientMessageToAll(COLOR_YELLOW,"{6EF83C}Vesti |{FFFFFF} Dragi slusaoci, vreme ocekivano za narednih pola sata je:Kisovito");
- SetWeather(8);
- }
- case 3:
- {
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti | Sledi: Vremenska prognoza.");
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti |{FFFFFF} Dragi slusaoci, vreme ocekivano za narednih pola sata je:Maglovito.");
- SetWeather(9);
- }
- case 4:
- {
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti | Sledi: Vremenska prognoza.");
- SendClientMessageToAll(COLOR_GREEN,"{6EF83C}Vesti |{FFFFFF} Dragi slusaoci, vreme ocekivano za narednih pola sata je:Oblacno bez Omorina.");
- SetWeather(30);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement