SA-MP Forums Archive
Problem with dialog :) - 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: Problem with dialog :) (/showthread.php?tid=624148)



Problem with dialog :) - rahman - 11.12.2016



error 002: only a single statement (or expression) can follow each "case"


whats problem here guys? please help me


Re: Problem with dialog :) - Isolated - 11.12.2016

Please post the full code, but it sounds like you're using else if instead of case?


Re: Problem with dialog :) - rahman - 11.12.2016

http://pastebin.com/GzAQ7FiC


Re: Problem with dialog :) - Yaa - 11.12.2016

Quote:
Originally Posted by rahman
Посмотреть сообщение
Post Full code of OnDialogReponse


Re: Problem with dialog :) - rahman - 11.12.2016

Just this part is making me provlems


Re: Problem with dialog :) - Logic_ - 11.12.2016

PHP код:
case d_rconprovera: 
try this


Re: Problem with dialog :) - Private200 - 11.12.2016

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
PHP код:
case d_rconprovera: 
try this
You can't use 'case' without using 'switch'. If he is using 'else if', it means he has some 'else if', 'else', there. Full code must be provided.


Re: Problem with dialog :) - rahman - 11.12.2016

FULL CODE

http://pastebin.com/nTY725kx