29.10.2012, 04:03
Try this
Use php or pawn tags when posting code
PHP код:
if (listitem == 1)
{
if (!ReportCount) return SendClientMessage(playerid, COLOR_GREY, "There is no reports to delete."), ShowPlayerDialog(playerid, 21430, DIALOG_STYLE_LIST, "Reports", "List Reports\nDelete Reports", "Select", "Cancel");
new string[200];
format(string, sizeof(string), "Do you wish to delete all %d reports?", ReportCount);
ShowPlayerDialog(playerid, 21431, DIALOG_STYLE_MSGBOX, "Delete Reports", string, "Yes", "No");
return 1;