Array sizes don't match
#1

I've started makingur password, a registeration system, if you select "password" or "Password" as your pass, it returns a client message.
pawn Код:
if(dialogid == DIALOG_NEWACC)
    {
        new
            pass[8];
        pass = inputtext;
        if(pass == "password" || pass == "Password") return SendClientMessage(playerid, GREY, "Please choose a more original password.");
    }
pawn Код:
C:\Users\Jack\Desktop\Server\Lf-Rp.pwn(257) : error 047: array sizes do not match, or destination array is too small
C:\Users\Jack\Desktop\Server\Lf-Rp.pwn(258) : error 001: expected token: "-string end-", but found "-identifier-"
And I get those.

Help, please?
Reply


Messages In This Thread
Array sizes don't match - by ...: 1 :... - 11.04.2012, 20:50
Re: Array sizes don't match - by ViniBorn - 11.04.2012, 20:58
Re: Array sizes don't match - by ...: 1 :... - 11.04.2012, 21:03
Re: Array sizes don't match - by Slice - 11.04.2012, 21:09
Re: Array sizes don't match - by ...: 1 :... - 11.04.2012, 21:11
Re: Array sizes don't match - by ViniBorn - 11.04.2012, 21:13
Re: Array sizes don't match - by ...: 1 :... - 11.04.2012, 21:20
Re: Array sizes don't match - by ViniBorn - 11.04.2012, 21:24
Re: Array sizes don't match - by ...: 1 :... - 11.04.2012, 21:28

Forum Jump:


Users browsing this thread: 2 Guest(s)