Quote:
Originally Posted by Daren_Jacobson
Quote:
Originally Posted by SiJ
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)
|
this is why (it's a link, click it)
|
Hmm, an other number?... omg why isnt there a good tut or something that tells how to make these 0.3 menus.....