Advertisement
ShomyScript

Untitled

Oct 3rd, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. /*
  2. Filterscript Random Tutorial Messages
  3. by Shomy Script
  4. */
  5. //==== [ INCLUDE ] ====//
  6.  
  7. #include <a_samp>
  8.  
  9. //==== [ DEFINE ] ====//
  10.  
  11. #define SCMTA SendClientMessageToAll
  12.  
  13. //==== [ PUBLIC ] ====//
  14. forward TimerMessageTuT();
  15. new RandomTuT [] [] =
  16. {
  17. "{FF8000}~ {FFFFFF}Random TuT Message 1 {FF8000}~",
  18. "{FF8000}~ {FFFFFF}Random TuT Message 2 {FF8000}~",
  19. "{FF8000}~ {FFFFFF}Random TuT Message 3 {FF8000}~",
  20. "{FF8000}~ {FFFFFF}Random TuT Message 4 {FF8000}~",
  21. "{FF8000}~ {FFFFFF}Random TuT Message 5 {FF8000}~"
  22. };
  23. public OnFilterScriptInit()
  24. {
  25. SetTimer("TimerMessageTuT",30000,true);
  26. return 1;
  27. }
  28. public TimerMessageTuT()
  29. {
  30. new randTuTMsg = random(sizeof(RandomTuT));
  31. SCMTA(-1, RandomTuT[randTuTMsg]);
  32. return 1;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement