Skin selection via inputtext?
#1

It doesn't open the input dialog. What's the issue?

pawn Код:
if(dialogid == SHOP_DIALOG)
    {
        switch(dialogid)
        {
            case 0:
            {
                ShowPlayerDialog(playerid, SHOP_SKIN, DIALOG_STYLE_INPUT, "Enter a valid Skin ID.", "",  "OK", "Cancel");
            }
        }
    }
    if(dialogid == SHOP_SKIN)
    {
        new skin = strval(inputtext);
        SetPlayerSkin(playerid, skin);
        GivePlayerMoney(playerid, -5000);
    }
Reply


Messages In This Thread
Skin selection via inputtext? - by rangerxxll - 01.03.2014, 19:02
Re: Skin selection via inputtext? - by Konstantinos - 01.03.2014, 19:08
Re: Skin selection via inputtext? - by rangerxxll - 01.03.2014, 19:12
Re: Skin selection via inputtext? - by Konstantinos - 01.03.2014, 19:16
Re: Skin selection via inputtext? - by rangerxxll - 01.03.2014, 19:19
Re: Skin selection via inputtext? - by Konstantinos - 01.03.2014, 19:22
Re: Skin selection via inputtext? - by rangerxxll - 01.03.2014, 19:23
Re: Skin selection via inputtext? - by Konstantinos - 01.03.2014, 19:25

Forum Jump:


Users browsing this thread: 4 Guest(s)