0.3 menu
#3

Quote:
Originally Posted by thuron
if (strcmp("/wmenu", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "menu", "Enter\nBuy Points\nInformation", "Select", "Exit");// first i do select on the "Buy Points"
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
....

if(dialogid == DIALOGID)
...
Why won't you use simple integers for dialogid?
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "menu", "Enter\nBuy Points\nInformation", "Select", "Exit");// first i do select on the "Buy Points"

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
....

if(dialogid == 1)
Reply


Messages In This Thread
0.3 menu - by thuron - 26.10.2009, 21:10
Re: 0.3 menu - by thuron - 27.10.2009, 09:10
Re: 0.3 menu - by SiJ - 27.10.2009, 12:16
Re: 0.3 menu - by thuron - 27.10.2009, 16:30
Re: 0.3 menu - by thuron - 27.10.2009, 17:03
Re: 0.3 menu - by Joe Staff - 27.10.2009, 18:09
Re: 0.3 menu - by Daren_Jacobson - 27.10.2009, 18:46
Re: 0.3 menu - by thuron - 27.10.2009, 18:52
Re: 0.3 menu - by thuron - 27.10.2009, 19:11
Re: 0.3 menu - by Daren_Jacobson - 27.10.2009, 19:13

Forum Jump:


Users browsing this thread: 8 Guest(s)