How to use inputtext? (Dialogs.)
#1

I'm just trying to make a simple money dialog. A player enters the amount they want, and they get it. But this isn't working. Could I please get some help? Thanks. (I'm returning from a break of sa-mp, so I'm a bit rusty.)

pawn Код:
if(listitem == 4)
        {
            ShowPlayerDialog(playerid, mamount,DIALOG_STYLE_INPUT, "Money", "How much?", "OK","Cancel");
            return 1;
        }

    }
    if(dialogid == mamount)
    {
        GivePlayerMoney(playerid, inputtext[128]);
        return 1;
    }
Reply


Messages In This Thread
How to use inputtext? (Dialogs.) - by rangerxxll - 24.12.2013, 09:18
Re: How to use inputtext? (Dialogs.) - by Patrick - 24.12.2013, 09:21
Re: How to use inputtext? (Dialogs.) - by CutX - 24.12.2013, 09:22
Re: How to use inputtext? (Dialogs.) - by rangerxxll - 24.12.2013, 09:32
Re: How to use inputtext? (Dialogs.) - by CutX - 24.12.2013, 09:34
Re: How to use inputtext? (Dialogs.) - by Patrick - 24.12.2013, 09:35
Re: How to use inputtext? (Dialogs.) - by rangerxxll - 24.12.2013, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)