ShowPlayerDialog problem
#4

If everything else you have done is correct, then the problem is possibly here:

ShowPlayerDialog(playerid, 2008, 2, "Class Changer", string, "Accept", "Cancel");
Maybe it's interfering with other dialog ids.

Try this:

pawn Код:
// On top of your script:
#define DIALOG_CLASS_CHANGER 1245
//1245 or any random number

//In your code:
ShowPlayerDialog(playerid, DIALOG_CLASS_CHANGER , 2, "Class Changer", string, "Accept", "Cancel");

//In OnDialogResponse:
case DIALOG_CLASS_CHANGER: {
// Your things here..
}
Reply


Messages In This Thread
ShowPlayerDialog problem - by [BLS]Touchdown - 23.07.2011, 21:19
Re: ShowPlayerDialog problem - by Cro_Haxor - 23.07.2011, 21:20
AW: ShowPlayerDialog problem - by [BLS]Touchdown - 23.07.2011, 21:29
Re: ShowPlayerDialog problem - by iPLEOMAX - 23.07.2011, 21:49
AW: ShowPlayerDialog problem - by [BLS]Touchdown - 24.07.2011, 09:44
Re: ShowPlayerDialog problem - by MoroDan - 24.07.2011, 09:50
Re: ShowPlayerDialog problem - by MadeMan - 24.07.2011, 11:58
AW: ShowPlayerDialog problem - by [BLS]Touchdown - 24.07.2011, 13:03
Re: ShowPlayerDialog problem - by MadeMan - 24.07.2011, 13:08
AW: ShowPlayerDialog problem - by [BLS]Touchdown - 24.07.2011, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)