Dialog Style Input - How to use "inputtext"? (and error help)
#1

Brief: I'm getting an error, and I've tried everything to fix it. My question about it is how do you use "inputtext" correctly?

Код:
array sizes do not match, or destination array is too small
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_BIZNAME)
    {
        if(response)
        {
            new bizedit = IsEditingBiz[playerid];
            IsEditingBiz[playerid] = -1;
            bInfo[bizedit][bizname] = inputtext; <-- error line
            UpdateBizTD(bizedit);
            return 1;
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)