22.06.2020, 17:03
Eu consegui fazer o meu assim :
em OnPlayerConnect:
ShowPlayerDialog(playerid,874,DIALOG_STYLE_MSGBOX, "BVE","{FFFFFF}Escolha sua forma de jogar\n","ANDROID","PC");
depois :
if(dialogid == 874)
{
if(response == 0)//PC
{
SetTimerEx("ShowBVE", 1000, 0, "d", playerid);//carrega os textdraw da tela de login
}
if(response == 1)//ANDROID . AQUI JA PODE COLOCAR PRA ENTRAR DIRETO EU QUE FIQUEI CRIANDO COISAS DESNECESSБRIA
{
TextDrawHideForPlayer(playerid, Login[0]);
TextDrawHideForPlayer(playerid, Login[1]);
TextDrawHideForPlayer(playerid, Login[2]);
TextDrawHideForPlayer(playerid, Login[3]);
TextDrawHideForPlayer(playerid, Login[4]);
TextDrawHideForPlayer(playerid, Login[5]);
TextDrawHideForPlayer(playerid, Login[6]);
TextDrawHideForPlayer(playerid, Login[7]);
TextDrawHideForPlayer(playerid, Login[8]);
TextDrawHideForPlayer(playerid, Login[9]);
TextDrawHideForPlayer(playerid, Login[10]);
TextDrawHideForPlayer(playerid, Login[11]);
TextDrawHideForPlayer(playerid, Login[12]);
TextDrawHideForPlayer(playerid, Login[13]);
TextDrawHideForPlayer(playerid, Login[14]);
TextDrawHideForPlayer(playerid, Login[15]);
TextDrawHideForPlayer(playerid, Login[16]);
TextDrawHideForPlayer(playerid, Login[17]);
TextDrawHideForPlayer(playerid, Login[18]);
TextDrawHideForPlayer(playerid, Login[19]);
TextDrawHideForPlayer(playerid, Login[20]);
TextDrawHideForPlayer(playerid, Login[21]);
TextDrawHideForPlayer(playerid, Login[22]);
ShowPlayerDialog(playerid,AVISO,DIALOG_STYLE_MSGBO X,"ANDROID","{FFFFFF}PRA PROSEGUIR CLIQUE EM 'ENTRAR'\n","ENTRAR","SAIR");
}
return true;
}
em OnPlayerConnect:
ShowPlayerDialog(playerid,874,DIALOG_STYLE_MSGBOX, "BVE","{FFFFFF}Escolha sua forma de jogar\n","ANDROID","PC");
depois :
if(dialogid == 874)
{
if(response == 0)//PC
{
SetTimerEx("ShowBVE", 1000, 0, "d", playerid);//carrega os textdraw da tela de login
}
if(response == 1)//ANDROID . AQUI JA PODE COLOCAR PRA ENTRAR DIRETO EU QUE FIQUEI CRIANDO COISAS DESNECESSБRIA
{
TextDrawHideForPlayer(playerid, Login[0]);
TextDrawHideForPlayer(playerid, Login[1]);
TextDrawHideForPlayer(playerid, Login[2]);
TextDrawHideForPlayer(playerid, Login[3]);
TextDrawHideForPlayer(playerid, Login[4]);
TextDrawHideForPlayer(playerid, Login[5]);
TextDrawHideForPlayer(playerid, Login[6]);
TextDrawHideForPlayer(playerid, Login[7]);
TextDrawHideForPlayer(playerid, Login[8]);
TextDrawHideForPlayer(playerid, Login[9]);
TextDrawHideForPlayer(playerid, Login[10]);
TextDrawHideForPlayer(playerid, Login[11]);
TextDrawHideForPlayer(playerid, Login[12]);
TextDrawHideForPlayer(playerid, Login[13]);
TextDrawHideForPlayer(playerid, Login[14]);
TextDrawHideForPlayer(playerid, Login[15]);
TextDrawHideForPlayer(playerid, Login[16]);
TextDrawHideForPlayer(playerid, Login[17]);
TextDrawHideForPlayer(playerid, Login[18]);
TextDrawHideForPlayer(playerid, Login[19]);
TextDrawHideForPlayer(playerid, Login[20]);
TextDrawHideForPlayer(playerid, Login[21]);
TextDrawHideForPlayer(playerid, Login[22]);
ShowPlayerDialog(playerid,AVISO,DIALOG_STYLE_MSGBO X,"ANDROID","{FFFFFF}PRA PROSEGUIR CLIQUE EM 'ENTRAR'\n","ENTRAR","SAIR");
}
return true;
}