Question about a dialog
#1

So I created a dialog for getting crack, but it has one small problem that I don't know how to fix. Basically, when someone enters the 'i' symbol to open the dialog, it continuously appears when they try to exit. I don't know if ProxDetector would help in this case, or if a timer would do the trick (unless there is some other way hence the reason I'm asking here).

Here's the code:
Код:
	if(pickupid == CrackPickup)
	{
	    ShowPlayerDialog(playerid,101,DIALOG_STYLE_LIST,""COL_BLUE"You need some crack?",""COL_ORANGE"One gram (20 dollars)\n"COL_ORANGE"Four grams (70 dollars)\n"COL_ORANGE"A quad: Seven grams (130 dollars)\n"COL_ORANGE"Half ounce: 14 grams (250 dollars)\n"COL_ORANGE"Ounce: 28 grams (470 dollars)\n"COL_ORANGE"8 ounces: 226 grams (3400 dollars)\n"COL_ORANGE"Pound: 453 grams (7000 dollars)\n"COL_ORANGE"10 pounds: 4535 (70,000 dollars)\n","Select","Cancel");
	}
	return 1;
Thanks for any help!
Reply


Messages In This Thread
Question about a dialog - by K9IsGodly - 01.07.2014, 16:16
Re : Question about a dialog - by Clad - 01.07.2014, 16:17
Re: Re : Question about a dialog - by K9IsGodly - 01.07.2014, 16:18
Re : Question about a dialog - by Clad - 01.07.2014, 16:21
Re: Re : Question about a dialog - by K9IsGodly - 01.07.2014, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)