Guest User

RandomMSG Kudoz

a guest
Mar 20th, 2012
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. //===================================RANDOM MESSAGES BY KUDOZ [EDITED BY ANOTHER GUY]====================//
  2. //==============================================DO NOT REMOVE CREDITS====================================//
  3. //=======================================================================================================//
  4. //============================================HAVE FUN! ENJOY THIS FILTERSCRIPT!=========================//
  5.  
  6. #include <a_samp>
  7.  
  8. #define FILTERSCRIPT
  9. #define COLOR 0xFF8040FF // ORANGE colour ORANGE colour ORANGE
  10. #if defined FILTERSCRIPT
  11.  
  12. forward msg1(playerid);
  13. forward msg2(playerid);
  14. forward msg3(playerid);
  15.  
  16. public OnFilterScriptInit()
  17. {
  18. print("\n--------------------------------------");
  19. print(" RandomMSG FS Kud");
  20. print("--------------------------------------\n");
  21.  
  22.  
  23. SetTimer("msg1",30000/*60000*/,false);
  24. return 1;
  25. }
  26.  
  27. public OnFilterScriptExit()
  28. {
  29. return 1;
  30. }
  31.  
  32. #else
  33.  
  34. main()
  35. {
  36. print("\n----------------------------------");
  37. print(" RandomMSG FS Kud");
  38. print("----------------------------------\n");
  39. }
  40.  
  41. #endif
  42.  
  43. public msg1(playerid)
  44. {
  45. SendClientMessage(playerid,COLOR,".::Hello, welcome to my Server! Have Fun!::..");
  46. SetTimer("msg2",150000,false);
  47. return 1;
  48. }
  49.  
  50. public msg2(playerid)
  51. {
  52. SendClientMessage(playerid,COLOR,"Add Us to your favourites! IP: Your.IP.Here .");
  53. SetTimer("msg3",150000,false);
  54. return 1;
  55. }
  56.  
  57. public msg3(playerid)
  58. {
  59. SendClientMessage(playerid,COLOR,"Rules: no Hacking!HACK = BAN! behave to admins! Respect other players.");
  60. SetTimer("msg1",150000,false);
  61. return 1;
  62. }
Advertisement
Add Comment
Please, Sign In to add comment