Advertisement
Guest User

Auto-poruke - By: BrunoHP

a guest
Mar 8th, 2010
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.42 KB | None | 0 0
  1. /*
  2.    Napravio BrunoHP
  3.    Posjetite: www.cromafia-samp.com
  4.    NEMOJTE OBRISATI KREDITE!!!
  5. */
  6. #include <a_samp>
  7. forward Poruka();
  8.  
  9. #define FILTERSCRIPT
  10. #define COLOR_LIGHTBLUE 0x33CCFFAA
  11.  
  12. public OnFilterScriptInit()
  13. {
  14.     print("\n--------------------------------------");
  15.     print(" ~Auto poruka~");
  16.     print("--------------------------------------\n");
  17.  
  18.     SetTimer("Poruka", 13, 1);
  19.     return 1;
  20. }
  21.  
  22. public OnFilterScriptExit()
  23. {
  24.     return 1;
  25. }
  26.  
  27. public Poruka()
  28. {
  29.     new rnd = random(120000); //2 minute
  30.     switch(rnd)
  31.     {
  32.         case 0:
  33.         {
  34.             SendClientMessageToAll(COLOR_LIGHTBLUE,"SERVER: Ako ste novi i trebate pomoc, koristite /airc .");
  35.         }
  36.         case 1:
  37.         {
  38.             SendClientMessageToAll(COLOR_LIGHTBLUE,"SERVER: Vidjeli ste cheatera? Prijavite ga na /report .");
  39.         }
  40.         case 2:
  41.         {
  42.             SendClientMessageToAll(COLOR_LIGHTBLUE,"SERVER: Ne mozete se snaci u gradu? Koristite /map .");
  43.            
  44.         }
  45.         case 3:
  46.         {
  47.             SendClientMessageToAll(COLOR_LIGHTBLUE,"SERVER: Za listu Admina koristite /admins .");
  48.            
  49.         }
  50.         case 4:
  51.         {
  52.             SendClientMessageToAll(COLOR_LIGHTBLUE,"SERVER: Za prijevoz koristite /service taxi .");
  53.         }
  54.         case 5:
  55.         {
  56.             SendClientMessageToAll(COLOR_LIGHTBLUE,"SERVER: Za listu animacija koristite /animlist .");
  57.         }
  58.     }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement