public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == email)//EMAIL { ShowPlayerDialog(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, "Digite seu E-Mail", "Digite seu email para cadastrarmo-no no nosso banco de dados", "Confirmar", "Cancelar"); TextDrawHideForPlayer(playerid, fundo); TextDrawHideForPlayer(playerid, inicio); TextDrawHideForPlayer(playerid, spawn); TextDrawHideForPlayer(playerid, email); TextDrawHideForPlayer(playerid, sexo); TextDrawHideForPlayer(playerid, ajuda); CancelSelectTextDraw(playerid); } if(clickedid == spawn)//SPAWN { PlayerNaText = 0; TextDrawHideForPlayer(playerid, fundo); TextDrawHideForPlayer(playerid, inicio); TextDrawHideForPlayer(playerid, spawn); TextDrawHideForPlayer(playerid, email); TextDrawHideForPlayer(playerid, sexo); TextDrawHideForPlayer(playerid, ajuda); CancelSelectTextDraw(playerid); TogglePlayerControllable(playerid, true); SetTimerEx("SpawnInfo", 200, false, "i", playerid); } if(clickedid == sexo)//SEXO { ShowPlayerDialog(playerid, DIALOG_SEXO1, DIALOG_STYLE_MSGBOX, "Sexo", "Escolha o seu Sexo:", "Masculino", "Feminino"); TextDrawHideForPlayer(playerid, fundo); TextDrawHideForPlayer(playerid, inicio); TextDrawHideForPlayer(playerid, spawn); TextDrawHideForPlayer(playerid, email); TextDrawHideForPlayer(playerid, sexo); TextDrawHideForPlayer(playerid, ajuda); CancelSelectTextDraw(playerid); } if(clickedid == inicio)//AJUDA { ShowPlayerDialog(playerid, DIALOG_CREDITOS, DIALOG_STYLE_LIST, "Créditos de Autoria do Servidor", "{BEBEBE}Autores:\n~>{FF1493}Fundador: {BEBEBE}Graf_Spee\n~>{FF1493}Co-Fundador: {BEBEBE}The_Striker\n~>{FF1493}Auxílio com alguns códigos: {BEBEBE}Don_Speed{FF1493} & {BEBEBE}Biel_COP\n~>{FF1493}Criador da Base do Sistema de ônibus: {BEBEBE}Adil\n~>{FF1493}Script dos Anti-Aéreos: {BEBEBE}pagie1111", "Fechar", ""); } if(clickedid == ajuda)//BHC { SendClientMessage(playerid, CorAlerta, "Arrumar"); } return 1; }