04.07.2015, 23:41
You have to make this:
and after when he close the dialog make it ShowDialog[playerid] = 0; again...
if you dont know how to do this, send me the code in pm if you want to help you to make..(remember i want the code that you have add on OnPlayerDialogResponse..)
Quote:
new ShowDIalog[MAX_PLAYERS]; // add this somewhere in GameMode public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == Burger && ShowDialog[playerid] == 0) { ShowDialog[playerid] = 1; ShowPlayerDialog(playerid,DIALOG_Burger,DIALOG_STY LE_LIST,..); } return 1; } |
if you dont know how to do this, send me the code in pm if you want to help you to make..(remember i want the code that you have add on OnPlayerDialogResponse..)