Advertisement
toribio

Untitled

Apr 20th, 2011
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.52 KB | None | 0 0
  1. new File:LerPalavroes = fopen("PalavroesProibidos.txt", io_read), linha[256];
  2. while(fread(LerPalavroes, linha))
  3. {
  4.     StripNewLine(linha);
  5.     if(strfind(text, linha, true) != -1)
  6.     {
  7.         if(G[playerid] == 0)
  8.         {
  9.             for(new X = 0; X < MAX_PLAYERS; X ++)
  10.             {
  11.                 if(IsPlayerNPC(X))
  12.                 {
  13.                     CmdAvisar(X, playerid, "Palavrões em chat público");
  14.                     break;
  15.                 }
  16.             }
  17.             return 0;
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement