Guest User

eVoJulian

a guest
Dec 26th, 2009
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.64 KB | None | 0 0
  1. /*
  2.                                     Anti Beleidigungs System by [eVo]Julian
  3. */
  4. #include <a_samp>
  5.  
  6. new SchimpfWort[3][64]= {
  7.     {"Lauch"},
  8.     {"Penner"},
  9.     {"Huso"}
  10. };
  11.  
  12. public OnFilterScriptInit()
  13. {
  14.     print("\n--------------------------------------");
  15.     print(" Anti Beleidigungs System by [eVo]Julian");
  16.     print("--------------------------------------\n");
  17.     return 1;
  18. }
  19.  
  20. public OnPlayerText(playerid, text[])
  21. {
  22.     for(new i=0;i<sizeof(SchimpfWort);i++)
  23.     {
  24.         if(strfind(text,SchimpfWort[i],true) != -1)
  25.         {
  26.             SendClientMessage(playerid,0xAA3333AA,"Du wurdest wegen einer beleidigung gekickt");
  27.             Kick(playerid);
  28.         }
  29.         return 1;
  30.     }
  31.     return 1;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment