/changepassword
#9

Here, i hope it will help You.
pawn Код:
if(strcmp(cmd, "/changepass", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(gPlayerLogged[playerid] == 0)
            {
                SendClientMessage(playerid, COLOR_GREY, "   You need to login first.");
                return 1;
            }
            else
            {
                SendClientMessage(playerid, COLOR_GREY, "   This feature is comming up on next release");
            }
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /changepass[password]");
                return 1;
            }
            strmid(PlayerInfo[playerid][pKey], tmp, 0, strlen(cmdtext), 255);
            OnPlayerUpdate(playerid);
            SendClientMessage(playerid, COLOR_YELLOW, "   Password has been changed successfuly");
        }
        return 1;
    }
Reply


Messages In This Thread
/changepassword - by Face9000 - 10.06.2011, 10:14
Re: /changepassword - by PGTips - 10.06.2011, 10:16
Re: /changepassword - by r3k1lLz_ - 10.06.2011, 10:55
Re: /changepassword - by ColdIce - 10.06.2011, 11:04
Re: /changepassword - by alpha500delta - 10.06.2011, 11:55
Re: /changepassword - by ColdIce - 10.06.2011, 11:58
Re: /changepassword - by Face9000 - 10.06.2011, 13:02
Re: /changepassword - by Face9000 - 11.06.2011, 10:53
Re: /changepassword - by berz - 11.06.2011, 11:07

Forum Jump:


Users browsing this thread: 7 Guest(s)