01.04.2015, 07:00
(
Last edited by Gammix; 01/04/2015 at 08:45 AM.
)
I think you have missed a listitem in your dialog. And you cant have a blank listitem in your dialog. Dont use "\n" in the begining.
"_" means your default values for the param. You have 5 cases in callback but 4 items in dialog.
Also, in dialog response callback, try to use indentation rather using "," for 1 statement after another.
And dont return 0 in it.
I dont see anything else causing problem from the provided code.
pawn Code:
ShowPlayerDialog(playerid, _, _, _, "item1\n...", _, _);
Also, in dialog response callback, try to use indentation rather using "," for 1 statement after another.
And dont return 0 in it.
I dont see anything else causing problem from the provided code.