Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new File:LerPalavroes = fopen("PalavroesProibidos.txt", io_read), linha[256];
- while(fread(LerPalavroes, linha))
- {
- StripNewLine(linha);
- if(strfind(text, linha, true) != -1)
- {
- if(G[playerid] == 0)
- {
- for(new X = 0; X < MAX_PLAYERS; X ++)
- {
- if(IsPlayerNPC(X))
- {
- CmdAvisar(X, playerid, "Palavrões em chat público");
- break;
- }
- }
- return 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement