Question about return value.
Hello, what exactly return 1; / return -1; and return 0; does do? Thnx :)
|
Re: Question about return value.
return 1 is the same as return PLUGIN_HANDLED and it will stop the information from being send to server or to other plugins.
return 0 is the same as return PLUGIN_CONTINUE and it will let the information go everywhere it should. return 2 is the same as return PLUGIN_HANDLED_MAIN stops the information from being send to server, but it will send it to other plugins. return -1 is just a custom return. You can use return -345 but you doesn't make sense. |
Re: Question about return value.
Quote:
Quote:
|
| All times are GMT -4. The time now is 17:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.