Switch Statements And OnDialogResponse
#6

Thank you for that ******. It worked, however I found another compiler bug. I guess I'll send a message to Zeex about it. If you've got the code I posted above (second callback), it will still produce the error, and I found out that it is caused by declaring this:

Код:
value[2][64]
Having (a multi-dimensional variable I think it's called) will cause the error to happen. I suppose I could fix this by using:

Код:
value1[64], value2[64]
instead.

(EDIT): Changing:

pawn Код:
new DB:database, DBResult:result[2], dialog[1650], string[128], value[2][64], placeholder[3], target, time;
to

pawn Код:
new value[2][64], DB:database, DBResult:result[2], dialog[1650], string[128], placeholder[3], target, time;
Will fix the compiling issue.
Reply


Messages In This Thread
Switch Statements And Variables (Error Produced) - by DrakeX - 12.06.2014, 23:02
Re: Switch Statements And OnDialogResponse - by Jefff - 12.06.2014, 23:14
Re: Switch Statements And OnDialogResponse - by DrakeX - 12.06.2014, 23:16
Re: Switch Statements And OnDialogResponse - by DrakeX - 13.06.2014, 00:32
Re: Switch Statements And OnDialogResponse - by DrakeX - 14.06.2014, 19:47
Re: Switch Statements And OnDialogResponse - by DrakeX - 15.06.2014, 16:46

Forum Jump:


Users browsing this thread: 2 Guest(s)