CurWeapon
Does it makes any difference if i return some value in CurWeapon event or don't?
PHP Code:
|
Re: CurWeapon
Why dont you test it out?
|
Re: CurWeapon
I did, and it don't make any difference for me. But maby there's something i don't notice.
|
Re: CurWeapon
You don't need to return any value in events callbacks, once the function is called, message has already been sent.
If you want to exit the function before its end, just put 'return' without any value. |
Re: CurWeapon
PHP Code:
|
Re: CurWeapon
Quote:
|
Re: CurWeapon
is not a laugh comment, its only to remember the return is not needed, and i not really see this wrong return;
|
Re: CurWeapon
I'm pretty sure 'lol' means laugh out loud.
|
Re: CurWeapon
NO!
I only surprised with the unnecessary return; |
Re: CurWeapon
Quote:
|
| All times are GMT -4. The time now is 10:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.