[DUV] Erros!
#5

pawn Code:
if (strcmp(cmd, "/Logar", true) ==0 )
    {
      if(IsPlayerConnected(playerid))
      {
        new tmppass[64];
            if(gPlayerLogged[playerid] == 1)
            {
                SendClientMessage(playerid, COLOR_DBLUE, "::ILB:: Voce ja esta logado.");
                return 1;
            }
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "USE: /Logar [Senha]");
                return 1;
            }
            strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
            Encrypt(tmppass);
            OnPlayerLogin(playerid,tmppass);
        }
        return 1;
    }
Reply


Messages In This Thread
[DUV] Erros! - by LeoH - 01.12.2009, 12:55
Re: [DUV] Erros! - by KingstoN* - 01.12.2009, 13:03
Re: [DUV] Erros! - by LeoH - 01.12.2009, 13:04
Re: [DUV] Erros! - by KingstoN* - 01.12.2009, 13:12
Re: [DUV] Erros! - by LeoH - 01.12.2009, 13:27
Re: [DUV] Erros! - by KingstoN* - 01.12.2009, 13:46
Re: [DUV] Erros! - by [VGS]Protioso - 02.12.2009, 14:18
Re: [DUV] Erros! - by LeoH - 03.12.2009, 13:41
Re: [DUV] Erros! - by Sucre Pleasure - 03.12.2009, 16:30
Re: [DUV] Erros! - by LeoH - 05.12.2009, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)