Bitsum question
Hello,
I was wondering why compiler is throwing this errors: PHP Code:
PHP Code:
PHP Code:
PHP Code:
And btw, when I change the macro like this: PHP Code:
|
Re: Bitsum question
Seems like the compiler sees the parentheses and therefor assumes the previous is a function to be called.
Exactly like this also works: Code:
It could be negated by removing the parentheses as you did, adding a semicolon before it or on the end of the row before or by using it after another function. Code:
Code:
Code:
Or simply turning it into a real function, unless called every server frame it really doesn't matter. Code:
But being honest here, using bitsum for setting a value for a single player that is reset when not applicable anymore without adding another player is just making things complicated. Better to just do: Code:
|
All times are GMT -4. The time now is 15:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.