[Ajuda] Login
#3

nгo esta indo no jogo mais no pawno ta ok

code depois da ediзгo
Код:
if(response >= 1)
		{
            if(strlen(inputtext) == 0)
			{
                SetPlayerCameraPos(playerid,1334.000,-995.000,149.000);
                SetPlayerCameraLookAt(playerid,1339.000,-998.000,149.000);
                SetPlayerPos(playerid,1334.000,-995.000,109.000);
                ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "{00FF00}RPG {FFFF00}Brasil Life {0000FF}2014{FFFF01}v4.0", "{FFFFFF}Bem Vindo ao {00FF00}RPG {FFFF00}v {0000FF}2014 {FFFFFF}v4.0\n{FFFFFF}Conta: {00FF00}Registrada\n{FFFFFF}Digite sua Senha para Logar!!!", "Logar", "Esperar");
                return 1;
            }
            format(gstring,sizeof(gstring),"/logar %s",inputtext);
            OnPlayerCommandText(playerid,gstring);
            return 1;
        }
        return 1;
    }

 if(dialogid == 2)
	{
        if(response == 0)
		{
            SendClientMessage(playerid, TEAM_VAGOS_COLOR, "Ok, Caso queira se registrar posteriormente use /registrar [senha]!");
            return 1;
        }
        if(response >= 1)
		{
            if(strlen(inputtext) == 0)
			{
                SetPlayerCameraPos(playerid,1483.8164,-1727.4125,13.3828);
                SetPlayerCameraLookAt(playerid,1481.0267,-1772.1371,19.4570);
                ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "{00FF00}RPG{FFFF00}Brasil Life {0000FF}2014 {FFFF01}v4.0", "{FFFFFF}Bem Vindo ao {00FF00}RPG{FFFF00}Brasil Life {0000FF}2014 {FFFFFF}v1.\n{FFFFFF}Conta: {FF0000}Nгo registrada\n{FFFFFF}Digite sua Senha para se Registrar!!!", "Registrar", "Esperar");
                return 1;
            }
            format(gstring,sizeof(gstring),"/registrar %s",inputtext);
            OnPlayerCommandText(playerid,gstring);
            return 1;
        }
        return 1;
    }
Reply


Messages In This Thread
Login - by Slipk - 20.09.2014, 14:07
Re: Login - by Marlon307 - 20.09.2014, 14:23
Re: Login - by Slipk - 20.09.2014, 15:02

Forum Jump:


Users browsing this thread: 2 Guest(s)