Why wont this work?
#1

pawn Код:
if(!strcmp(teamname, "England" || "Iraq" || "Russia" || "Mexico", true))
And error:
pawn Код:
error 001: expected token: "-string end-", but found "-identifier-"
I am using sscanf, and I want to check if the parameter the player entered matches one of these team names.
Reply


Messages In This Thread
Why wont this work? - by Dan. - 05.08.2012, 17:56
Re: Why wont this work? - by SA-MPDrifter - 05.08.2012, 17:58
Re: Why wont this work? - by Dan. - 05.08.2012, 18:02
Re: Why wont this work? - by Dan. - 06.08.2012, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)