Problem with dialog.
#1

pawn Код:
new dialogmessage[400];
    new query[128];
    format(query, 128, "SELECT `Reporter`, `Description`, `Charges` FROM `warrants` WHERE `WarrantID` = '%d'", warrantid);
    mysql_store_result();
    if(!(!mysql_num_rows()))
    {
        new result[128], data[3][128];
        while(mysql_fetch_row_format(result,"|"))
        {
            split(result,data,'|');
            format(dialogmessage, sizeof(dialogmessage), "{FF6347} - LSPD Warrant System -\n {FFFFFF} Warrant #%d \n Reporter: %s \n Suspect Description: %s \n Charges: %s", warrantid, data[0], data[1], data[2]);
    }
        }
    mysql_free_result();
    ShowPlayerDialog(playerid, APB_WARRANT, DIALOG_STYLE_MSGBOX, "LSPD Warrant System", dialogmessage, "Ok", "Exit");
When I do the command it doesn't show the dialog.
Reply


Messages In This Thread
Problem with dialog. - by printer - 09.04.2012, 19:44
Re: Problem with dialog. - by printer - 09.04.2012, 22:27
Re: Problem with dialog. - by Jack.7331 - 09.04.2012, 22:37
Re: Problem with dialog. - by printer - 10.04.2012, 09:23

Forum Jump:


Users browsing this thread: 1 Guest(s)