4
« on: May 04, 2013, 09:39:59 am »
agarren ayi solo para pollitos para que no les tumben el server con ningun tipo de simbolos.
no olviden comentar.
grab there just for chicks so they do not knock down the server with any kind of symbols.
do not forget to comment.
[pawn]public usuariosinvalidos(c[])
{
new cde[256]; cde = "UsuariosInval";
if (strfind(c, "*", true) != -1 ||
strfind(c, "?", true) != -1 ||
strfind(c, ":", true) != -1 ||
strfind(c, "<", true) != -1 ||
strfind(c, ";", true) != -1 ||
strfind(c, "{", true) != -1 ||
strfind(c, ">", true) != -1 ||
strfind(c, "|", true) != -1 ||
strfind(c, ".", true) != -1 ||
strfind(c, ",", true) != -1 ||
strfind(c, "-", true) != -1 ||
strfind(c, "%", true) != -1 ||
strfind(c, "(", true) != -1 ||
strfind(c, "[", true) != -1 ||
strfind(c, "]", true) != -1 ||
strfind(c, "@", true) != -1 ||
strfind(c, "/", true) != -1 ||
strfind(c, "//", true) != -1 ||
strfind(c, "/\\", true) != -1 ||
strfind(c, "\47", true) != -1 ||
strfind(c, "@", true) != -1 ||
strfind(c, "\\", true) != -1 ||
strfind(c, "!", true) != -1 ||
strfind(c, "#", true) != -1 ||
strfind(c, "$", true) != -1 ||
strfind(c, "&", true) != -1 ||
strfind(c, "'", true) != -1 ||
strfind(c, "^", true) != -1 ||
strfind(c, "`", true) != -1 ||
strfind(c, "+", true) != -1 ||
strfind(c, "{", true) != -1 ||
strfind(c, "}", true) != -1 ||
strfind(c, "=", true) != -1 ||
strfind(c, "¤", true) != -1 ||
strfind(c, "£", true) != -1 ||
strfind(c, "§", true) != -1 ||
strfind(c, "Ü", true) != -1 ||
strfind(c, "~", true) != -1 ||
strfind(c, "\34", true) != -1 ||
strfind(c, "\20", true) != -1 ||
strfind(c, "\21", true) != -1 ||
strfind(c, "\27", true) != -1 ||
strfind(c, "\33", true) != -1 ||
strfind(c, "\39", true) != -1 ||
strfind(c, "\658", true) != -1 ||
strfind(c, "\162", true) != -1 ||
strfind(c, "\32", true) != -1 ||
strfind(c, cde, true) != -1) return 1;
if (IsNumeric(c)) return 1;
else return 0;
return 1;
}[/pawn]