[HELP]dialog response
#1

Hello I was made dialog for buying house for example player is near house and he get in dialog this house is on buy. Know he must click Buy or Exit how can I make if player click on exit then I want to send some message I was try like this but it doens't work I go exit and nothing happens

pawn Код:
if(dialogid == 371)
    {
        if(!response)
        {
            SendClientMessage(playerid,COLOR_YELLOW,"You exit from dialog!");
            return 1; I was try with return and without it but it doens't send anything if I press Exit in dialog
        }
        if(response)
        {
//here is code for house buy
        }
    }]
Reply


Messages In This Thread
[HELP]dialog response - by Luca12 - 20.01.2015, 09:17
Re: [HELP]dialog response - by Threshold - 20.01.2015, 09:51
Re: [HELP]dialog response - by Luca12 - 20.01.2015, 09:57
Re: [HELP]dialog response - by Facerafter - 20.01.2015, 10:27
Re: [HELP]dialog response - by Luca12 - 20.01.2015, 10:36
Re: [HELP]dialog response - by PowerPC603 - 20.01.2015, 12:58
Re: [HELP]dialog response - by Luca12 - 20.01.2015, 13:30
Re: [HELP]dialog response - by xVIP3Rx - 20.01.2015, 13:33
Re: [HELP]dialog response - by Luca12 - 20.01.2015, 13:39
Re: [HELP]dialog response - by xVIP3Rx - 20.01.2015, 13:46

Forum Jump:


Users browsing this thread: 2 Guest(s)