Advertisement
Guest User

Untitled

a guest
Dec 7th, 2010
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.51 KB | None | 0 0
  1. /*
  2.                   This Filterscript was created by Kidemo
  3.                   ================= CREDITS ===============
  4.                   Me - The FilterScript
  5.                   My Friend - Help
  6.                   My Other Friend - Testing
  7. */
  8. #include <a_samp>
  9.  
  10. #define Script Scripter "Kidemo"
  11. #define FilterScript Version 1.0
  12. #define Next Version 2.0
  13.  
  14. #define MINUTES 5 // Change these to what ever you want.
  15. #define MODES 3 // This is how many GameModes you want :)
  16.  
  17. #define FILTERSCRIPT
  18. #define COLOR_GREY 0xAFAFAFAA
  19. #define COLOR_GREEN 0x33AA33AA
  20. #define COLOR_BRIGHTRED 0xFF0000AA
  21. #define COLOR_YELLOW 0xFFFF00AA
  22. #define COLOR_PINK 0xFF66FFAA
  23. #define COLOR_BLUE 0x3A47DEFF
  24. #define COLOR_TAN 0xBDB76BAA
  25. #define COLOR_PURPLE 0x800080AA
  26. #define COLOR_WHITE 0xFFFFFFAA
  27. #define COLOR_LIGHTBLUE 0x33CCFFAA
  28. #define COLOR_ORANGE 0xFF9900AA
  29. #define COLOR_INDIGO 0x4B00B0AA
  30. #define COLOR_BLACK 0x00000000
  31. #define COLOR_DARKGREY 0x696969FF
  32.  
  33. new row = 0;
  34.  
  35. forward Kidemo();
  36. public Kidemo()
  37. {
  38.     /*
  39.     Hello this is kidemo, I am sexy ;) I hope you enjoy this FilterScript, Also this is my first release.
  40.     Im sexy
  41.     So yea ENJOYYYYY
  42.    
  43.     P.S:   I know my coding is terrible i suck like a porn star hehehehehehehehehe.
  44.     Also Sorry for the terrible script, bug fixes will be in the next version and a login system.- IDK if that will work
  45.     Also you guys will be looking forward to V 3.0 Cuz i have a supprise for you ;)
  46.     */
  47.     return 1;
  48. }
  49. //****************************** The Main Script ******************************
  50. forward ModeChange();
  51. public ModeChange()
  52. {
  53.         {
  54.         }
  55.         {
  56.         }
  57.         new stri[100];
  58.         new modes[MODES][0] = {
  59.         {"bare"}, // Another GameMode
  60.         {"barron"}, // Another GameMode
  61.         {"rivershell"} // Your GameModes
  62.         // You can ad another line for another GameMode
  63.         };
  64.         GameTextForAll("This is a mode changer by Kidemo",500,2);
  65.         format(stri, 100, "changemode %s", modes[row][0]);
  66.         SendRconCommand(stri);
  67.  
  68.         if( row >= MODES )
  69.         {
  70.                 row = 0;
  71.         }else
  72.         if( row < MODES )
  73.         {
  74.             row = row+1;
  75.         }
  76.         {
  77.         }
  78.         {
  79.         }
  80.         return 1;
  81. //******************************************************************************
  82. }
  83.  
  84. public OnFilterScriptInit()
  85. {
  86.         print("\n--------------------------------------");
  87.         print("GameMode Changer By Kidemo");
  88.         print("--------------------------------------\n");
  89.  
  90.         SetTimer("ModeChange", MINUTES*40*1000, 1);
  91.  
  92.         return 1;
  93. }
  94. /* COPYRIGHT:  Kidemo ModeChanger */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement