What? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What? (
/showthread.php?tid=612571)
What? -
Micko123 - 19.07.2016
PHP код:
error 002: only a single statement (or expression) can follow each "case"
error 029: invalid expression, assumed zero
This is the line
PHP код:
if(dialogid == DIALOG_VOZILO)
Re: What? -
SyS - 19.07.2016
may be you put this statement in a switch branch you should put it out side of switch statements
Re: What? -
Micko123 - 19.07.2016
Quote:
Originally Posted by Sreyas
may be you put this statement in a switch branch you should put id out side of witch statements
|
This is not my GM. I am just editing it. Creator of this GM typed on top of script
PHP код:
#pragma tabsize 0
And it is so difficult.
And thx for answer. I will try to find it out
Re: What? -
OneDay - 19.07.2016
Delete that line
Re: What? -
Micko123 - 19.07.2016
Quote:
Originally Posted by OneDay
Delete that line
|
So you suggest to delet one whole dialog and one part of system?? Nope
Re: What? -
SyS - 19.07.2016
Quote:
Originally Posted by OneDay
Delete that line
|
No dont do that you may have some bracket issue that made this dialog inside a switch statement.
Re: What? -
Micko123 - 19.07.2016
Quote:
Originally Posted by Sreyas
may be you put this statement in a switch branch you should put it out side of switch statements
|
@sreyas THANK YOU VERY MUCH!!!!