TelaLogin[0] = TextDrawCreate(634.941162, 12.583333, "usebox");
TextDrawLetterSize(TelaLogin[0], 0.000000, 46.998146);
TextDrawTextSize(TelaLogin[0], 6.470588, 0.000000);
TextDrawAlignment(TelaLogin[0], 1);
TextDrawColor(TelaLogin[0], 0);
TextDrawUseBox(TelaLogin[0], true);
TextDrawBoxColor(TelaLogin[0], 102);
TextDrawSetShadow(TelaLogin[0], 0);
TextDrawSetOutline(TelaLogin[0], 0);
TextDrawFont(TelaLogin[0], 0);
TelaLogin[1] = TextDrawCreate(223.529327, 13.416623, "]");
TextDrawLetterSize(TelaLogin[1], 0.449999, 1.600000);
TextDrawAlignment(TelaLogin[1], 1);
TextDrawColor(TelaLogin[1], -64513);
TextDrawSetShadow(TelaLogin[1], 0);
TextDrawSetOutline(TelaLogin[1], 1);
TextDrawBackgroundColor(TelaLogin[1], 51);
TextDrawFont(TelaLogin[1], 2);
TextDrawSetProportional(TelaLogin[1], 1);
TelaLogin[2] = TextDrawCreate(249.882415, 13.416625, "City Crime - RJ");
TextDrawLetterSize(TelaLogin[2], 0.449999, 1.600000);
TextDrawAlignment(TelaLogin[2], 1);
TextDrawColor(TelaLogin[2], -1523963137);
TextDrawSetShadow(TelaLogin[2], 0);
TextDrawSetOutline(TelaLogin[2], 1);
TextDrawBackgroundColor(TelaLogin[2], 51);
TextDrawFont(TelaLogin[2], 3);
TextDrawSetProportional(TelaLogin[2], 1);
TelaLogin[3] = TextDrawCreate(386.352722, 14.000004, "]");
TextDrawLetterSize(TelaLogin[3], 0.449999, 1.600000);
TextDrawAlignment(TelaLogin[3], 1);
TextDrawColor(TelaLogin[3], -65281);
TextDrawSetShadow(TelaLogin[3], 0);
TextDrawSetOutline(TelaLogin[3], 1);
TextDrawBackgroundColor(TelaLogin[3], 51);
TextDrawFont(TelaLogin[3], 2);
TextDrawSetProportional(TelaLogin[3], 1);
TelaLogin[4] = TextDrawCreate(391.176483, 60.416667, "usebox");
TextDrawLetterSize(TelaLogin[4], 0.000000, 5.257406);
TextDrawTextSize(TelaLogin[4], 226.235305, 0.000000);
TextDrawAlignment(TelaLogin[4], 1);
TextDrawColor(TelaLogin[4], 0);
TextDrawUseBox(TelaLogin[4], true);
TextDrawBoxColor(TelaLogin[4], 102);
TextDrawSetShadow(TelaLogin[4], 0);
TextDrawSetOutline(TelaLogin[4], 0);
TextDrawFont(TelaLogin[4], 0);
TelaLogin[5] = TextDrawCreate(260.235321, 70.583351, "Logar");
TextDrawLetterSize(TelaLogin[5], 1.023176, 2.597499);
TextDrawAlignment(TelaLogin[5], 1);
TextDrawColor(TelaLogin[5], -5963521);
TextDrawSetShadow(TelaLogin[5], 0);
TextDrawSetOutline(TelaLogin[5], 1);
TextDrawBackgroundColor(TelaLogin[5], 51);
TextDrawFont(TelaLogin[5], 3);
TextDrawSetProportional(TelaLogin[5], 1);
TextDrawSetSelectable(TelaLogin[5], true);
TelaLogin[6] = TextDrawCreate(391.647003, 133.333328, "usebox");
TextDrawLetterSize(TelaLogin[6], 0.000000, 5.970371);
TextDrawTextSize(TelaLogin[6], 223.882308, 0.000000);
TextDrawAlignment(TelaLogin[6], 1);
TextDrawColor(TelaLogin[6], 0);
TextDrawUseBox(TelaLogin[6], true);
TextDrawBoxColor(TelaLogin[6], 102);
TextDrawSetShadow(TelaLogin[6], 0);
TextDrawSetOutline(TelaLogin[6], 0);
TextDrawSetSelectable(TelaLogin[6], 0);
TextDrawFont(TelaLogin[6], 0);
TelaLogin[7] = TextDrawCreate(248.941177, 145.833328, "Registrar-me");
TextDrawLetterSize(TelaLogin[7], 0.522470, 2.912499);
TextDrawAlignment(TelaLogin[7], 1);
TextDrawColor(TelaLogin[7], -5963521);
TextDrawSetShadow(TelaLogin[7], 0);
TextDrawSetOutline(TelaLogin[7], 1);
TextDrawBackgroundColor(TelaLogin[7], 51);
TextDrawFont(TelaLogin[7], 3);
TextDrawSetProportional(TelaLogin[7], 1);
TextDrawSetSelectable(TelaLogin[7], true);
TelaLogin[8] = TextDrawCreate(392.117645, 213.833343, "usebox");
TextDrawLetterSize(TelaLogin[8], 0.000000, 5.062961);
TextDrawTextSize(TelaLogin[8], 224.352935, 0.000000);
TextDrawAlignment(TelaLogin[8], 1);
TextDrawColor(TelaLogin[8], 0);
TextDrawUseBox(TelaLogin[8], true);
TextDrawBoxColor(TelaLogin[8], 102);
TextDrawSetShadow(TelaLogin[8], 0);
TextDrawSetOutline(TelaLogin[8], 0);
TextDrawSetSelectable(TelaLogin[8], 0);
TextDrawFont(TelaLogin[8], 0);
TelaLogin[9] = TextDrawCreate(258.352966, 222.833374, "Sair");
TextDrawLetterSize(TelaLogin[9], 1.427411, 2.737500);
TextDrawAlignment(TelaLogin[9], 1);
TextDrawColor(TelaLogin[9], -5963521);
TextDrawSetShadow(TelaLogin[9], 0);
TextDrawSetOutline(TelaLogin[9], 1);
TextDrawBackgroundColor(TelaLogin[9], 51);
TextDrawFont(TelaLogin[9], 3);
TextDrawSetProportional(TelaLogin[9], 1);
TextDrawSetSelectable(TelaLogin[9], true);
TelaLogin[10] = TextDrawCreate(180.823532, 27.750000, "usebox");
TextDrawLetterSize(TelaLogin[10], 0.000000, 1.562962);
TextDrawTextSize(TelaLogin[10], 25.764705, 0.000000);
TextDrawAlignment(TelaLogin[10], 1);
TextDrawColor(TelaLogin[10], 0);
TextDrawUseBox(TelaLogin[10], true);
TextDrawBoxColor(TelaLogin[10], 102);
TextDrawSetShadow(TelaLogin[10], 0);
TextDrawSetOutline(TelaLogin[10], 0);
TextDrawFont(Textdraw10, 0);
TelaLogin[11] = TextDrawCreate(38.117618, 26.249986, "Recuperar senha");
TextDrawLetterSize(TelaLogin[11], 0.449999, 1.600000);
TextDrawAlignment(TelaLogin[11], 1);
TextDrawColor(TelaLogin[11], 16711935);
TextDrawSetShadow(TelaLogin[11], 0);
TextDrawSetOutline(TelaLogin[11], 1);
TextDrawBackgroundColor(TelaLogin[11], 51);
TextDrawFont(TelaLogin[11], 3);
TextDrawSetProportional(TelaLogin[11], 1);
TextDrawSetSelectable(TelaLogin[11], true);
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == TelaLogin[4]) //Logar { if(Player[playerid][Registrado] == false) { SendClientMessage(playerid, COR_ERRO, "Vocк ainda nгo tem Conta, se registre primeiro."); return 1; } new String[256]; format(String, sizeof(String), CONTAS, getPName(playerid)); if(!DOF2_FileExists(String)) { SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк estб bugado, por favor entre novamente."); Kick(playerid); return 1; } new str[256]; format(str, sizeof(str), "{FFFFFF}Seja bem vindo a {FF0000}Faccoes City - OFICIAL.\n{FF0000}Status: {00FF00}Registrado.\n{FF0000}Nick:{00FF00}%s\n{FFF FFF}Digite uma senha para logar no servidor.", getPName(playerid)); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FF0000}» {FFFFFF}LOGIN Faccoes City {FF0000}«", str, "Logar", #); } if(clickedid == TelaLogin[6]) //registrar { if(Player[playerid][Registrado] == true) { SendClientMessage(playerid, COR_ERRO, "Vocк ja tem uma conta, use o botгo 'Logar'."); return 1; } new String[256]; format(String, sizeof(String), CONTAS, getPName(playerid)); if(DOF2_FileExists(String)) { SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк estб bugado, por favor entre novamente."); Kick(playerid); return 1; } new str[512]; format(str, sizeof(str), "{FFFFFF}Seja bem vindo a {FF0000}Faccoes City - OFICIAL.\n{FFFFFF}Status: {FF0000}Nгo registrado.\n{FF0000}Nick:{00FF00}%s\n{FFFFFF}Digi te uma senha para se registrar.", getPName(playerid)); ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "Registro", str, "Registrar", #); } if(clickedid == TelaLogin[11]) //Esqueci minha Senha { new string[256]; format(string, sizeof(string), CONTAS, getPName(playerid)); if(Player[playerid][Registrado] == false) { SendClientMessage(playerid, COR_ERRO, "Vocк ainda nгo tem Conta, se registre primeiro."); return 1; } if(DOF2_GetInt(string, "TemPergunta") == 0) { SendClientMessage(playerid, COR_ERRO, "Sua conta nгo tem uma pergunta secreta definida"); SendClientMessage(playerid, COR_ERRO, "Visite o forum www.equipefc.forumeiros.com e crie um ticket de ajuda"); Kick(playerid); return 1; } format(string, 128, "{FFFFFF}Insira a resposta da pergunta abaixo para recuperar sua senha:\n{ccff00}%s?", DOF2_GetString(string, "Pergunta")); ShowPlayerDialog(playerid, DIALOG_NEWLOGIN+1, DIALOG_STYLE_INPUT, "Recuperar Senha", string, "Enviar", "Voltar"); } if(clickedid == TelaLogin[9]) //Sair { Kick(playerid); } return 1; } |
Tipo eu clico '' Logar '' - '' Registrar '' - '' Sair ''
E fala que nao tem conta Achei isso aiew |
Nossa mano o gamemode da facзхes city ta muito bugado perga de tempo mecher nele namoral msm esse gm foi explanado a ums 3 a 4 anos atras ta muito bugado
PHP код:
|