30.05.2014, 21:32
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;
}