Dialog Issues
#1

On a dialog, How can i detect if a player pressed "cancel" ? I want it so, if a player pressed cancel, the dialog closes (which it does) but i want a message to appear for them too. How can i do that?


This is part of my dialog:

pawn Код:
if(dialogid==WEAPONDEALER_DIALOG) {
        if(response) {
            ShowPlayerDialog(playerid,WEAPONDEALER_DIALOG,2,"Weapon Dealers List","Silenced 9mm\t\t $2500\nTec9\t\t\t $1000\nS/O Shotgun\t\t $3500\nSniper Rifle\t\t $15000\nAK47\t\t\t $8000\nArmour\t\t\t $500\n3 Blocks Of C4\t\t $3500\nParachute\t\t $10000\nM4\t\t\t $1000\nRifle\t\t\t $7000\nDesert Eagle\t\t $5000","Buy","Cancel");
Reply


Messages In This Thread
Dialog Issues - by MWF2 - 28.07.2010, 16:49
Re: Dialog Issues - by Nero_3D - 28.07.2010, 16:54
Re: Dialog Issues - by MWF2 - 28.07.2010, 17:04
Re: Dialog Issues - by DJDhan - 28.07.2010, 17:08
Re: Dialog Issues - by MWF2 - 28.07.2010, 17:51
Re: Dialog Issues - by Faith - 28.07.2010, 18:32
Re: Dialog Issues - by MWF2 - 28.07.2010, 20:36
Re: Dialog Issues - by MWF2 - 29.07.2010, 03:20
Re: Dialog Issues - by MWF2 - 29.07.2010, 16:37

Forum Jump:


Users browsing this thread: 3 Guest(s)