11.02.2011, 07:48
Hi, is there any way to make function that checks if the dialog id allready exists? If it do that, so it increases id value until it reaches free DIALOG id.
#define DefaultDialogID 0
ShowPlayerDialog(playerid, DefaultDialogID/* +1 , +2, +3*/, //............ );
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DefaultDialogID/* +1 , +2, +3*/)
#define DIALOG_SOMETHING
#define DIALOG_NEXT_THING