Quote:
Originally Posted by sheo
You should replace "StrContains("all", cvarValue) ? true : false;" by "StrContains("all", cvarValue) != -1 ? true : false;"
|
Not sure if necessary, but adding parentheses may also help keep clean code
Code:
new bool:bStatement = (StrContains("all", cvarValue) != -1) ? true : false;