Guest User

Random messages by NaziHotdog

a guest
May 22nd, 2013
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.93 KB | None | 0 0
  1. // Copyright stuff:I hate them too lol,please read this
  2. // You can modify this thingy how you like
  3. //Just please don't remove these 3 lines and don't claim this script thingy as yours.Thanks.
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11.     print("\n--------------------------------------");
  12.     print(" Random Messages by NaziHotdog          ");
  13.     print("--------------------------------------\n");
  14.     return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19.     return 1;
  20. }
  21.  
  22. new RandomMSG[][] =
  23. {   "Fak ju spoodermin",
  24.          "<=========3",
  25.          "Soviet narnia"
  26. // Completely random messages lol,you can add new ones or modify these however you want
  27. };
  28. forward SendMSG();
  29.  
  30.  
  31. public SendMSG()
  32. {
  33.         SendClientMessageToAll(0x33CCFFAA, RandomMSG[random(sizeof(RandomMSG))]);
  34.  
  35.         return 1;
  36. }
  37.  
  38.  
  39.  
  40. #endif
  41.  
  42. public OnGameModeInit()
  43. {
  44.     SetTimer("SendMSG",100000,1); // timer
  45.     return 1;
  46. }
Advertisement
Add Comment
Please, Sign In to add comment