Suing a suspect with dialogs
#1

How can I charge a player and add crime details without messing up the inputtext?
I currently have this..

pawn Код:
ShowPlayerDialog(playerid, MDC_CHARGE, DIALOG_STYLE_INPUT, "LSPD MDC - Logged On | Charge", "Enter the name of the suspect.", "OK", "Cancel");

pawn Код:
if(dialogid == MDC_CHARGE && response)
{
    new sscanfid[5];
    sscanfid[3] = strval(inputtext);
    ShowPlayerDialog(playerid, MDC_CHARGE1, DIALOG_STYLE_INPUT, "LSPD MDC - Logged On | Charge", "Please fill-in the crime details.", "Enter", "Cancel");
 }
pawn Код:
if(dialogid == MDC_CHARGE1 && response)
{
     // Add input text from the dialogs here.
}
I have no idea how to save the input text of the first dialog when I have another dialog right after the first one.
Could anyone help me out?
Reply


Messages In This Thread
Suing a suspect with dialogs - by Boolean - 19.02.2013, 10:47
Re: Suing a suspect with dialogs - by KubiPL - 19.02.2013, 12:06

Forum Jump:


Users browsing this thread: 1 Guest(s)