[Ajuda][Ajuda] public OnDialogResponse
#7

Quote:
Originally Posted by [Red]Maninho
Посмотреть сообщение
Apague Essa Linha Para Ver Oque Da
Suspense -----------------------------------------------


Agr veio pra esse
Quote:

if(dialogid == 1)

O Mermo erro
Code completo aqui :

pawn Код:
if(dialogid == 1)
    {
        if(response == 0)
        {
            SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Ok, Caso queira fazer login posteriormente use /logar [senha]!");
            return 1;
        }
        if(response >= 1)
        {
            if(strlen(inputtext) == 0)
            {
                //SetPlayerCameraPos(playerid,1463.9277,-1043.5249,31.3181);
                //SetPlayerCameraLookAt(playerid,1461.7306,-1014.2181,26.6566);
                //SetPlayerPos(playerid,1424.6486,-1020.7975,23.8281);
                new loginstring[256];
                new loginname[64];
                GetPlayerName(playerid,loginname,sizeof(loginname));
                SendClientMessage(playerid, 0x00F0F0AA, "Seu nick estб registrado, й sу Logar");
                SendClientMessage(playerid, 0x00F0F0AA, "Caso erre a senha 5 vezes, terб o ip banido");
                format(loginstring,sizeof(loginstring),"{33CCFF}\n\n{33FF00}{f7f7f7}%s{33FF00} Bem Vindo(a)\n\n{33FF00}Sua conta estб Registrada! \n\n{33FF00}Por favor logue na sua conta!!\n\n{33CCFF}",loginname);
                ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT,"{FFFF00}Brasil Games Living || The Return",loginstring,"Logar","Sair");
                return 1;
            }
            format(gstring,sizeof(gstring),"/logar %s",inputtext);
            OnPlayerCommandText(playerid,gstring);
            return 1;
        }
        return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)