05.05.2011, 22:06
"Button 1","Button2");
- Button 1 = True value
- Button 2 = False value
Therefore, button 1 is meant for something like Buy, OK, Agree, Yes while button 2 is meant for something like Cancel, Disagree, No, Exit
Try putting Cancel into the 2nd set of quotes and Buy in the 1st set.
Also add:
This will help you too https://sampwiki.blast.hk/wiki/ShowPlayerDialog
- Button 1 = True value
- Button 2 = False value
Therefore, button 1 is meant for something like Buy, OK, Agree, Yes while button 2 is meant for something like Cancel, Disagree, No, Exit
Try putting Cancel into the 2nd set of quotes and Buy in the 1st set.
Also add:
pawn Код:
if(dialogid==Dialogonclick){ if(!response){return 0;}/* <= EXIT Button*/}