Quote:
Originally Posted by stupok
I'm talking about this:
PHP Code:
if ( equali .b=MapName, .c=3, .a="co_" == 1 )
or
if ( 1 == equali .b=MapName, .c=3, .a="co_" )
|
Stupok, i've tested and you need to use function parenthesis when you are getting the returned value. So this is valid:
equali .a="a" , .b="b" , .c=1
This don't:
new x = equali .a ="a" , .b="b", .c=1
Same as for your if. So you need to make it:
if ( 1 == equali(.b=MapName, .c=3, .a="co_") )
__________________