expected token: "-string end-", but found "-identifier-" - 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: expected token: "-string end-", but found "-identifier-" (
/showthread.php?tid=652496)
expected token: "-string end-", but found "-identifier-" -
PowerF - 13.04.2018
whats wrong
me trying to check if city or country string is unknown
PHP код:
if(strcmp(city, "Unknown" || strcmp(country, "Unknown"))
Re: expected token: "-string end-", but found "-identifier-" -
UFF - 13.04.2018
if(strcmp(city, "Unknown") && strcmp(country, "Unknown"))
maybe this!
Re: expected token: "-string end-", but found "-identifier-" -
PowerF - 13.04.2018
I missed the ) after first comparison,thanks though
Re: expected token: "-string end-", but found "-identifier-" -
UFF - 13.04.2018
Quote:
Originally Posted by PowerF
I missed the ) after first comparison,thanks though
|
Anytime!