20.01.2015, 09:17
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
}
}]