[Ajuda] Qual problema nesse comando?
#5

Quote:
Originally Posted by Hardware
Посмотреть сообщение
Remova a verificaзгo de player conectado.

PHP код:
if (IsPlayerConnected(playerid)) 
Ficou assim

pawn Код:
if(!strcmp(cmd, "/mudaremail", true))
    {
        if (gPlayerLogged[playerid] != 0)
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_RED, "Uso vбlido: /MudarEmail [Novo e-mail]");
                return 1;
            }
            new emails;
            emails = strval(tmp);
            format(string,64,"Players/%s.ini",PlayerName(playerid));
            JogadorInfo[playerid][pEmail] = emails;
            format(string, sizeof(string), "E-mail de recuperaзгo alterado com sucesso para: {FF0000}%s{FFFFFF}", emails);
            SendClientMessage(playerid, COLOR_AZULBB, string);
            SendClientMessage(playerid, COLOR_LIGHTRED, "Nгo esqueзa do seu novo e-mail!");
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COLOR_RED, "Vocк nгo estб logado.");
            return 1;
        }
    }
Reply


Messages In This Thread
Qual problema nesse comando? - by lucasbjs0 - 05.04.2015, 21:47
Re: Qual problema nesse comando? - by #Luca[S]. - 05.04.2015, 21:48
Re: Qual problema nesse comando? - by lucasbjs0 - 05.04.2015, 21:57
Re: Qual problema nesse comando? - by Hardware - 05.04.2015, 22:01
Re: Qual problema nesse comando? - by lucasbjs0 - 05.04.2015, 22:09
Re: Qual problema nesse comando? - by GWMPT - 05.04.2015, 22:13
Re: Qual problema nesse comando? - by DokyPWN - 05.04.2015, 22:28
Re: Qual problema nesse comando? - by lucasbjs0 - 06.04.2015, 03:14
Re: Qual problema nesse comando? - by Hardware - 06.04.2015, 04:40
Re: Qual problema nesse comando? - by ProKillerpa - 06.04.2015, 15:18

Forum Jump:


Users browsing this thread: 2 Guest(s)