Ir para conteúdo

Noock

Membro
  • Registro em

  • Última visita

  1. Noock reagiu a uma resposta no tópico: New Library v. 1.2
  2. Em tfs 1.x (usei 1.2) procurar if (muteTime > 0) { std::ostringstream ss; ss << "You are still muted for " << muteTime << " seconds."; player->sendTextMessage(MESSAGE_STATUS_SMALL, ss.str()); return; } Para o anti-spam if (int(text.find("noip")) > 0 || int(text.find("no-ip")) > 0 || int(text.find("servergame.com")) > 0 || int(text.find("zapto.net")) > 0 || int(text.find("sytes.net")) > 0 || int(text.find("hopto.org")) > 0 || int(text.find("bounceme.net")) > 0 || int(text.find("opendns")) > 0) { player->sendTextMessage(MESSAGE_STATUS_SMALL, "You can't send this message."); return; } para o anti-palavrão if (int(text.find("tnc")) > 0 || int(text.find("fdp")) > 0 || int(text.find("krl")) > 0 || int(text.find("merda")) > 0 || int(text.find("puta")) > 0 || int(text.find("puto")) > 0 || int(text.find("fuder")) > 0 || int(text.find("porra")) > 0) { player->sendTextMessage(MESSAGE_STATUS_SMALL, "You can't send this message."); return; }

Informação Importante

Confirmação de Termo