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
#2

Can you please post your command?
Reply
#3

Quote:

Can you please post your command?

I Already Posted it, or which one you want me post?
Reply
#4

Quote:
Originally Posted by aDo7
Посмотреть сообщение
I Already Posted it, or which one you want me post?
pawn Код:
CMD:yourcommand(playerid, params[])
{
    // What you did
    return 1;
}
^ That command
Reply
#5

Quote:

^ That command

I think you wont ads cmds, and if you got it , it won't be helpful i just want to complete this cmds
Reply
#6

Well, I don't really understand what you mean.
Reply
#7

Show us this command:

cmd:ads
Reply
#8

You need to make the responses through 1441 to 1444 dialogs too... It won't work by magic.
Reply
#9

Quote:

It won't work by magic.

I Belive that it won't work by magic else,
Quote:

You need to make the responses through 1441 to 1444 dialogs too

But i cant make anymore thing else, that the reason why i post it here, to get help!!
Reply
#10

You want help.. I need to see your command before I can do anything.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)