15.04.2015, 17:49
I didn't mean in the command's parameters. Change that back to:
I meant that you forgot the 2 last parameters IN ShowPlayerDialog function.
For example (from wiki), you used:
instead of:
which is obvious that it's lacking button1 and button2.
pawn Код:
CMD:shop(playerid, params[])
For example (from wiki), you used:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle");
pawn Код:
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle", "Option 1", "Option 2");