Advertisement
Smoke-Luca

Anti MG

Dec 30th, 2014
720
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.79 KB | None | 0 0
  1. /*
  2. Antimg by smoke
  3. */
  4. #include <a_samp>
  5. #if defined FILTERSCRIPT
  6. #define Rojo         0xFE2E2E
  7. public OnFilterScriptInit()
  8. {
  9.     print("\n--------------------------------------");
  10.     print(" Anti MG by smoke");
  11.     print("--------------------------------------\n");
  12.     return 1;
  13. }
  14. #endif
  15. public OnPlayerText(playerid, text[])
  16. {
  17. if(strfind(text, "xD", true) != -1 || strfind(text, "LOOOL", true) != -1 || strfind(text, ":D", true) != -1 || strfind(text, "-.-", true) != -1 || strfind(text, ":P", true) != -1)//Si el usuario dice..
  18. {
  19. SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");//Pasa esto
  20. //Jail(playerid); ,claro si vas a sancionar users que hagan mg y tengas jail en tu gm
  21. return 0;
  22. }
  23. if(strfind(text, ":C", true) != -1 || strfind(text, "o.o", true) != -1 || strfind(text, "pg", true) != -1 || strfind(text, "spam", true) != -1 || strfind(text, ":S", true) != -1)
  24. {
  25. SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
  26. return 0;
  27. }
  28. if(strfind(text, "Barza", true) != -1 || strfind(text, "o.o", true) != -1 || strfind(text, "madrid", true) != -1 || strfind(text, "chelsea", true) != -1 || strfind(text, "n.n", true) != -1)
  29. {
  30. SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
  31. return 0;
  32. }
  33. if(strfind(text, "dmero", true) != -1 || strfind(text, "o.o", true) != -1 || strfind(text, "liverpool", true) != -1 || strfind(text, "rk", true) != -1 || strfind(text, "a.a", true) != -1)
  34. {
  35. SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
  36. return 0;
  37. }
  38. if(strfind(text, "ck", true) != -1 || strfind(text, "ck2", true) != -1 || strfind(text, "lel", true) != -1 || strfind(text, "Mg", true) != -1 || strfind(text, "e.e", true) != -1)
  39. {
  40. SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
  41. return 0;
  42. }
  43. return 1;
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement