Dialog
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 3)
    {
        if(response)//here was the problem
        {
            if(listitem == 0)
            {
                SetPlayerAttachedObject(playerid,2,19078,1,0.320722,-0.067912,-0.165151,0.000000,0.000000,0.000000,1.000000,1.000000,1.000000);
                SendClientMessage(playerid, 0x00FF00FF,"You have bought a parrot!");
                GivePlayerMoney(playerid,-20000);
            }
        }
    }
    return 0;
}
Reply


Messages In This Thread
Dialog - by wumpyc - 06.10.2011, 04:46
Re: Dialog - by Pharrel - 06.10.2011, 04:56
Re: Dialog - by wumpyc - 06.10.2011, 05:01
Re: Dialog - by Pharrel - 06.10.2011, 05:10
Re: Dialog - by wumpyc - 06.10.2011, 05:14
Re: Dialog - by Dripac - 06.10.2011, 06:01
Re: Dialog - by System64 - 06.10.2011, 07:07

Forum Jump:


Users browsing this thread: 4 Guest(s)