[Question]Dialog Question
#8

Quote:
Originally Posted by gamer_Z
Quote:
Originally Posted by eDz0r
Quote:
Originally Posted by gamer_Z
there is no way to set a selected item, after show dialog, hide dialog and then again show dialog just the 1st item will be selected.
i will make a video
if it resets you're hiding and showing it ... check your script, no video needed.. I CAN READ, not like the most people...
How To Explain i don't Hide And Show

My code
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new Money = GetPlayerMoney(playerid);
    if(dialogid == 1)
    {
        if(response)
        {
            if(listitem == 0)
            {
                if(Money > 49)
                {
                    SendClientMessage(playerid, 0x21DD00FF, "You Bough A Desert Deagle");
                    GivePlayerWeapon(playerid,24,50);
                    GivePlayerMoney(playerid,-50);
                }
            }
            if(listitem == 1)
            {
                if(Money > 74)
                {
                    SendClientMessage(playerid, 0x21DD00FF, "You Bough A Country Rifle");
                    GivePlayerWeapon(playerid,33,30);
                    GivePlayerMoney(playerid,-75);
                }
            }  
        }
        else
        {
            SendClientMessage(playerid, 0x21DD00FF, "You Exited From Shop Menu");
        }
    }
    return 1;
}
do you think i hide and show?? really i don't wanna injure you
Reply


Messages In This Thread
[Question]Dialog Question - by eDz0r - 22.05.2010, 13:40
Re: [Question]Dialog Question - by ViruZZzZ_ChiLLL - 22.05.2010, 13:41
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 13:43
Re: [Question]Dialog Question - by eDz0r - 22.05.2010, 13:43
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 13:45
Re: [Question]Dialog Question - by ViruZZzZ_ChiLLL - 22.05.2010, 13:48
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 13:51
Re: [Question]Dialog Question - by eDz0r - 22.05.2010, 13:54
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 13:55
Re: [Question]Dialog Question - by ViruZZzZ_ChiLLL - 22.05.2010, 13:56
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 13:57
Re: [Question]Dialog Question - by eDz0r - 22.05.2010, 14:21
Re: [Question]Dialog Question - by ViruZZzZ_ChiLLL - 22.05.2010, 14:26
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 14:29
Re: [Question]Dialog Question - by [MWR]Blood - 22.05.2010, 14:32
Re: [Question]Dialog Question - by Gamer_Z - 22.05.2010, 14:48
Re: [Question]Dialog Question - by [MWR]Blood - 22.05.2010, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)