24.12.2015, 17:15
druggy is represent the input text amount in the dialog
this
and this is the main for it to response
this
Код:
druggy = strval(inputtext);
Код:
if(dialogid == BPDRUG)
{
if(response)
{
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid, BPDRUGP, DIALOG_STYLE_LIST, "Pot", "Deposit\nWithdraw", "Choose", "Cancel");
}
case 1:
{
ShowPlayerDialog(playerid, BPDRUGC, DIALOG_STYLE_LIST, "Crack", "Deposit\nWithdraw", "Choose", "Cancel");
}
}
return 1;
}
}

