ShowPlayerDialog crash
#1

pawn Код:
for(new k=0; k<MAX_CARS; k++) {
    format(ShowDlg,sizeof(ShowDlg),"%s%s\t%d$\n",ShowDlg,HouseCarName[k],HouseCarPrice[k]);
}
ShowPlayerDialog(playerid, id, DIALOG_STYLE_LIST, "House Car", ShowDlg, "Buy", "Cancel");
This code crash server. Does anyone know why?

ShowDlg i set to [1024] cells.
At the end(after all format() ) ShowDlg have about 300 symbols and there is 17 list items. Maybe text limit in ShowPlayerDialog is less than 300 ? In sa-mp wiki limits doesn't say anything about dialogs..
Reply


Messages In This Thread
ShowPlayerDialog crash - by Dreftas - 26.10.2009, 00:36
Re: ShowPlayerDialog crash - by Joe Staff - 26.10.2009, 00:38
Re: ShowPlayerDialog crash - by Dreftas - 26.10.2009, 00:41
Re: ShowPlayerDialog crash - by Joe Staff - 26.10.2009, 00:53
Re: ShowPlayerDialog crash - by Dreftas - 26.10.2009, 00:57
Re: ShowPlayerDialog crash - by Dreftas - 26.10.2009, 01:04
Re: ShowPlayerDialog crash - by Dreftas - 26.10.2009, 01:17
Re: ShowPlayerDialog crash - by Dreftas - 26.10.2009, 01:25
Re: ShowPlayerDialog crash - by Danny_Costelo - 26.10.2009, 03:05
Re: ShowPlayerDialog crash - by Dabombber - 26.10.2009, 05:51

Forum Jump:


Users browsing this thread: 1 Guest(s)