Quote:
Originally Posted by HamletEagle
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.
|
Please do not explain stuff out of context. If it was a custom function or a Ham/Fakemeta forward, your explanation would be incorrect.
Quote:
Originally Posted by ghost95v
Hello, what exactly return 1; / return -1; and return 0; does do? Thnx 
|
They are just return values. Without the rest of the code, we can't tell you anything else
__________________