Advertisement
kazmapawner

Tip Systém / Kazma

May 27th, 2017
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. //=============================//
  2. //Tipy by Kazma / pro pawno.cz=//
  3. //=============================//
  4. #include <a_samp>
  5.  
  6. //=Barvy=//
  7. #define GREEN 0x00FF00FF
  8. #define COLOR_MODRA 0x0000BBAA
  9. #define COLOR_MODRA2 0x4682B4AA
  10. #define COLOR_MODRA3 0x4169FFAA
  11. #define COLOR_SVMODRA 0x33CCFFAA
  12. #define COLOR_ZELENA 0x008000AA
  13. #define COLOR_ZELENA2 0x00FF00AA
  14. #define COLOR_CYAN 0x00FFFFAA
  15. #define COLOR_TMAVACYAN 0x008B8BAA
  16. #define COLOR_BILA 0xFFFFFFAA
  17. #define COLOR_ZLUTA 0xFFFF00AA
  18. #define COLOR_HNEDA 0xA52A2AAA
  19. #define COLOR_HNEDA2 0xBC8F8FAA
  20. #define COLOR_COKOLADA 0xD2691EAA
  21. #define COLOR_CERVENA 0xFF0000AA
  22. #define COLOR_FIALOVA 0x800080AA
  23. #define COLOR_RUZOVA 0xFFC0CBAA
  24. #define COLOR_CHARTR 0x7FFF00AA
  25. #define COLOR_ORANZCERV 0xFF4500AA
  26. #define COLOR_ORANZOVA 0xFF8C00AA
  27. #define COLOR_SEDA 0xAFAFAFAA
  28. #define COLOR_SEDA2 0x808080AA
  29.  
  30. public OnFilterScriptInit()
  31. {
  32. SetTimer("Tipy",90000,true);
  33. return 1;
  34. }
  35.  
  36. public OnFilterScriptExit()
  37. {
  38. return 1;
  39. }
  40. forward Tipy();
  41. public Tipy()
  42. {
  43. switch(random(7))
  44. {
  45. case 0:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  46. case 1:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  47. case 2:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  48. case 3:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  49. case 4:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  50. case 5:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  51. case 6:SendClientMessageToAll(GREEN,"{FF4500}[Example] {0000CD} Sample Text"); // TIP
  52. }
  53. return 1;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement