I need a little help with this one.
#6

PHP код:
ShowPlayerDialog(playeriddialogidstyleCaption[], info[], button1[], button2[]) 
here button1 will take the dialog forward which is we can say you are responding to the dialog and second one will be performing the action of not responding to the dialog.
PHP код:
under OnDialogResponse
if(dialogid == 1)
{
    if(
response)
    {
        
SendClientMessage(playerid, -1"You have pressed the first button");
         return 
1;
     }
     else
     {
      
//now whatever you write below will be show on pression first button
         
SendClientMessage(playerid, -1"You have pressed the second button");
     }

Reply


Messages In This Thread
I need a little help with this one. - by sBlackWood - 20.10.2017, 08:22
Re: I need a little help with this one. - by Zeth - 20.10.2017, 08:29
Re: I need a little help with this one. - by sBlackWood - 20.10.2017, 08:40
Re: I need a little help with this one. - by Escobabe - 20.10.2017, 08:42
Re: I need a little help with this one. - by sBlackWood - 20.10.2017, 08:53
Re: I need a little help with this one. - by Zeth - 20.10.2017, 08:58

Forum Jump:


Users browsing this thread: 2 Guest(s)