Not working
#9

druggy is represent the input text amount in the dialog

this

Код:
druggy = strval(inputtext);
and this is the main for it to response

Код:
	
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;
    }
}
Reply


Messages In This Thread
Not working - by Shazwan - 24.12.2015, 14:20
Re: Not working - by Ritzy2K - 24.12.2015, 14:37
Re: Not working - by Amunra - 24.12.2015, 14:39
Re: Not working - by Shazwan - 24.12.2015, 14:44
Re: Not working - by Amunra - 24.12.2015, 14:58
Re: Not working - by Shazwan - 24.12.2015, 15:28
Re: Not working - by Amunra - 24.12.2015, 15:35
Re: Not working - by TwinkiDaBoss - 24.12.2015, 16:35
Re: Not working - by Shazwan - 24.12.2015, 17:15

Forum Jump:


Users browsing this thread: 1 Guest(s)