OnDialogResponse
#1

Hi,
I need help with [OnDialogResponse] , i tried to make cmd:ads to my Roleplay server and some guys helped me with that but when i arrived to [OnDialogResponse] No one can help me!, So i tried to make it by myself and i cant success with it,...


Commands:
PHP код:
          if(dialogid == DIALOG_ADMAIN)
    {
        if(
response)
        {
            switch(
listitem)
            {
                case 
0:
                {
                    
ShowPlayerDialog(playerid1441DIALOG_STYLE_MSGBOX"List Advertisements""Change this""Close""");
                }
                case 
1:
                {
                    
ShowPlayerDialog(playerid1442DIALOG_STYLE_MSGBOX"Search Advertisements""Change this""Close""");
                }
                case 
2:
                {
                    
ShowPlayerDialog(playerid1443DIALOG_STYLE_INPUT"Place Advertisement""You Can Place Your Advertisement""Close""");
                }
                case 
3:
                {
                    
ShowPlayerDialog(playerid1444DIALOG_STYLE_INPUT"Place Priority Advertisement""You Can Place Your Priority Advertisement""Close""");
                }
            }
        }
    } 
But it's not complete, i want when any one write cmd:ads and see the dialog, when he choose Priority Advertisement and write on it i want all players to see adv but i can't make this one same with anothers so if any one can help me, please help?
Reply


Messages In This Thread
OnDialogResponse - by aDo7 - 23.11.2013, 09:11
Re: OnDialogResponse - by Stinged - 23.11.2013, 09:30
Re: OnDialogResponse - by aDo7 - 23.11.2013, 09:35
Re: OnDialogResponse - by Stinged - 23.11.2013, 09:48
Re: OnDialogResponse - by aDo7 - 23.11.2013, 10:01
Re: OnDialogResponse - by Stinged - 23.11.2013, 10:04
Re: OnDialogResponse - by ikbenremco - 23.11.2013, 10:07
Re: OnDialogResponse - by DanishHaq - 23.11.2013, 10:09
Re: OnDialogResponse - by aDo7 - 23.11.2013, 10:13
Re: OnDialogResponse - by Stinged - 23.11.2013, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)