argument type mismatch
#10

Quote:
Originally Posted by Mr_DjolE
Посмотреть сообщение
Still using udb... ? However lol,



Nope lol, you can't compare two strings like that. You should know that.

I really don't use udb but try it.
Was using udb just for test, i added Whirlpool, and edited the /login with this.

pawn Код:
CMD:login(playerid, params[])
{
            new hashpass[129];
            WP_Hash(hashpass,sizeof(hashpass),params);
            if(!strcmp(hashpass,PlayerInfo[playerid][pPass]))
            (
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
                    SetPlayerCash(playerid, PlayerInfo[playerid][pCash]);
                    SetPlayerScore(playerid, PlayerInfo[playerid][pKills]);
                    SetPlayerWantedLevel(playerid, PlayerInfo[playerid][pRank]);
                    PlayerInfo[playerid][pLogged] = 1;
            }
            else
            {
            SCM(playerid,0x0080C0FF,"Wrong login.");
            }
            return 1;
)
I just get this errors now:

(3857 -- 385 : error 001: expected token: ")", but found ";"
(3864) : error 010: invalid function or declaration
(386 : error 010: invalid function or declaration

3857-3858:

pawn Код:
(
                    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
3864:

pawn Код:
else
3868:

pawn Код:
return 1;
Reply


Messages In This Thread
argument type mismatch - by Face9000 - 14.12.2012, 17:26
Re: argument type mismatch - by Lordzy - 14.12.2012, 18:02
Re: argument type mismatch - by Face9000 - 14.12.2012, 18:15
Re: argument type mismatch - by Lordzy - 14.12.2012, 18:19
Re: argument type mismatch - by Face9000 - 14.12.2012, 18:19
Re: argument type mismatch - by Lordzy - 14.12.2012, 18:26
Re: argument type mismatch - by Face9000 - 14.12.2012, 18:36
Re: argument type mismatch - by Lordzy - 14.12.2012, 18:43
Re: argument type mismatch - by Djole1337 - 14.12.2012, 18:56
Re: argument type mismatch - by Face9000 - 14.12.2012, 19:01

Forum Jump:


Users browsing this thread: 3 Guest(s)