Raised This Month: $ Target: $400
 0% 

sawce's Strange Function Calls


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-19-2009 , 15:22   Re: sawce's Strange Function Calls
Reply With Quote #7

Quote:
Originally Posted by stupok View Post
I'm talking about this:

PHP Code:
if ( equali .b=MapName, .c=3, .a="co_" == )

or

if ( 
== 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_") )
__________________
joaquimandrade is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode