19.02.2013, 10:47
How can I charge a player and add crime details without messing up the inputtext?
I currently have this..
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?
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.
}
Could anyone help me out?