14.04.2012, 16:13
Olб, to com um erro aqui quando vo logar no servidor tipo coloco a senha e tudo no box mais nгo sai da tela de login, fica na setinha e o botгo spawn mais nгo sai de lб, nem o servidor desliga nem nada o.O
public OnPlayerConnect(playerid)
{
TextShow[playerid] = false;
TextDrawShowForPlayer(playerid, forum2[playerid]);
if(IsPlayerNPC(playerid))
{
SpawnPlayer(playerid);
return 1;
}
//=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-==(INICIO DO GET IP{BFC0C2})=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-==//
//IPlog(playerid);
//=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-==(FIM DO GET IP{BFC0C2})=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-===//
//TextDrawShowForPlayer(playerid, forum1[playerid]);
//TextDrawShowForPlayer(playerid, TForum[playerid]);
//TextDrawShowForPlayer(playerid, forum[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeData[playerid]);
TextDrawShowForPlayer(playerid, TextDrawdeHora[playerid]);
TextDrawShowForPlayer(playerid, BAC);
TextDrawShowForPlayer(playerid, ESTRELA);
TextDrawShowForPlayer(playerid, ESTRELABAC);
if(strfind(PlayerName(playerid), "_", true) == -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "]", true) != -1 || strfind(PlayerName(playerid), "lixo", true) != -1 || strfind(PlayerName(playerid), "buceta", true) != -1 || strfind(PlayerName(playerid), "caralho", true) != -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "server", true) != -1
|| strfind(PlayerName(playerid), "servidor", true) != -1 || strfind(PlayerName(playerid), "crash", true) != -1 || strfind(PlayerName(playerid), "bpl", true) != -1 || strfind(PlayerName(playerid), "gamerx", true) != -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "189", true) != -1 || strfind(PlayerName(playerid), "201", true) != -1 || strfind(PlayerName(playerid), "200", true) != -1 || strfind(PlayerName(playerid), ".", true) != -1
|| strfind(PlayerName(playerid), "*", true) != -1 || strfind(PlayerName(playerid), "(", true) != -1 || strfind(PlayerName(playerid), ")", true) != -1 || strfind(PlayerName(playerid), "@", true) != -1 || strfind(PlayerName(playerid), "amx", true) != -1 || strfind(PlayerName(playerid), "prn", true) != -1 || strfind(PlayerName(playerid), "__", true) != -1)
{
MSGPLAYER(playerid, COLOR_LIGHTBLUE, "Vocк Foi Kickado por usar algum nome incorreto!");
MSGPLAYER(playerid, COLOR_LIGHTBLUE, "Seu nome deve ser no formato Nome_Sobrenome Ex: Matheus_Carvalho");
MSGPLAYER(playerid, COLOR_LIGHTBLUE, "Troque-o e volte, Obrigado.");
format(gstring,64,"contas/%s.ini",PlayerName(playerid));
Kick(playerid);
fremove(gstring);
return 1;
}
if(strcmp("Diabinho",PlayerName(playerid),true)==0)
{
MSGPLAYER(playerid,COLOR_AZULBB,"Nгo tente imitar BOT_CRAZY ele nгo gosta disso!");
MSGPLAYER(playerid,COLOR_AZULBB,"Eron_Crazy te kickou!");
Kick(playerid);
}
for(new i; i<sizeof(NicksProibidos); i++)
{
if(strcmp(NicksProibidos[i],PlayerName(playerid),true)==0)
{
MSGPLAYER(playerid,COLOR_AZULBB,"Vocк estб usando um nome que й proibido no BSG!");
MSGPLAYER(playerid,COLOR_AZULBB,"Vocк foi banido!");
getdate(Ano, Mes, Dia);
SBan(playerid, "Pego Usando um nome que й proibido no BSG.", "Automбtico");
}
}