warning 202: number of arguments does not match definition
#4

I didn't mean in the command's parameters. Change that back to:
pawn Код:
CMD:shop(playerid, params[])
I meant that you forgot the 2 last parameters IN ShowPlayerDialog function.

For example (from wiki), you used:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle");
instead of:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle", "Option 1", "Option 2");
which is obvious that it's lacking button1 and button2.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)