argument type mismatch
#7

Yes is working, i just need last help, i made /login cmd:

pawn Код:
CMD:login(playerid, params[])
(
    if(udb_hash(params) == 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;
)
(3862 -- 3863) : error 029: invalid expression, assumed zero
(3863) : error 029: invalid expression, assumed zero
(3863) : fatal error 107: too many error messages on one line

Thanks very much.

3863:

pawn Код:
if(udb_hash(params) == PlayerInfo[playerid][pPass])
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: 2 Guest(s)