Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Antimg by smoke
- */
- #include <a_samp>
- #if defined FILTERSCRIPT
- #define Rojo 0xFE2E2E
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Anti MG by smoke");
- print("--------------------------------------\n");
- return 1;
- }
- #endif
- public OnPlayerText(playerid, text[])
- {
- 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..
- {
- SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");//Pasa esto
- //Jail(playerid); ,claro si vas a sancionar users que hagan mg y tengas jail en tu gm
- return 0;
- }
- 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)
- {
- SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
- return 0;
- }
- 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)
- {
- SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
- return 0;
- }
- 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)
- {
- SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
- return 0;
- }
- 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)
- {
- SendClientMessage(playerid,0xEA7971FF,"Estas haciendo MG,dilo por /b");
- return 0;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement