logando com qualquer senha
#1

Код:
	gPlayerAccount[playerid] = 1;
		new loginstring[128];
		new loginname[64];
		GetPlayerName(playerid,loginname,sizeof(loginname));
		format(loginstring,sizeof(loginstring),"Bem-Vindo ao [BLG] Roleplay\nNome: %s\n\nPor favor insira sua senha:",loginname);
		ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Brasil Lord Games RolePlay - LOGIN",loginstring,"Logar","Sair");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		return 1;
	}
	else
	{
		gPlayerAccount[playerid] = 0;
 		new regstring[128];
		new regname[64];
		GetPlayerName(playerid,regname,sizeof(regname));
		format(regstring,sizeof(regstring),"Bem-Vindo ao LS Life Roleplay\nConta nгo Registrada\nNome: %s\n\nPor favor insira sua senha:",regname);
		ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Brasil Lord Games RolePlay - REGISTRO",regstring,"Registrar","Sair");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
		SendClientMessage(playerid, COLOR_WHITE, " ");
	}
    GetPlayerName(playerid,playername,MAX_PLAYER_NAME);
    if(strcmp(playername,"Batman",true) == 0 || strcmp(playername,"Rocky",true) == 0 || strcmp(playername,"Carl",true) == 0 || strcmp(playername,"aux",true) == 0 || strcmp(playername,"con",true) == 0)
    {
        SendClientMessage(playerid, COLOR_YELLOW2, "...");
		Ban(playerid);
		return 1;
	}
    if(strfind(playername,"_",true,1)!=-1)
    gw=1;
    if(playername[strlen(playername)-1]=='_')
    gw=0;
    for(new i=0;i<strlen(playername);i++)
    if((playername[i]<='9')&&(playername[i]>='0'))
    gw=0;
    if(!gw)
    {
		SendClientMessage(playerid, COLOR_YELLOW2, "Imigraзгo Brasil Lord Games: Seu nome nгo foi aceito em nossa agкncia.");
		SendClientMessage(playerid, COLOR_YELLOW2, "Dica: Seu nome deve estar no formato: Nome_Sobrenome.");
		Kick(playerid);
	}
	return 1;
}
nгo sei se mandei o certo mais se foi o errado me ajuda ae me falando qual o certo
Reply


Messages In This Thread
logando com qualquer senha - by wallacematheus - 07.10.2010, 01:48
Re: logando com qualquer senha - by Gabriel_Halls - 07.10.2010, 01:49
Re: logando com qualquer senha - by wallacematheus - 07.10.2010, 01:58
Re: logando com qualquer senha - by [VGS]Mlqd_Rock - 07.10.2010, 20:39
Re: logando com qualquer senha - by Xpectro - 17.10.2010, 02:45
Re: logando com qualquer senha - by Diogo_braz - 17.10.2010, 16:28
Re: logando com qualquer senha - by Biscoito - 10.02.2019, 18:15
Re: logando com qualquer senha - by elTioFrame - 10.02.2019, 20:50
Re: logando com qualquer senha - by BrunoSayden177 - 10.02.2019, 22:47
Re: logando com qualquer senha - by elTioFrame - 10.02.2019, 23:13

Forum Jump:


Users browsing this thread: 1 Guest(s)