Simple Question!
#1: When registering Ham_Killed, I want it to display a chat message, but still show who was killed. For example:
PHP Code:
What should I return so it will display the message, but the plugin wont execute passed that if statement. |
Re: Simple Question!
return;
or return PLUGIN_CONTINUE; |
Re: Simple Question!
In a Ham forward, don't use the PLUGIN_* return values, use the HAM_* ones. Same with Fakemeta.
|
Re: Simple Question!
HAM_IGNORED would be the most suitable return value in your case.
You seem to have issues with return values, so here they are: Code:
EDIT: Technically, returning PLUGIN_CONTINUE in your case would have the same effect as HAM_IGNORED, since 0 is also interpreted as HAM_IGNORED and PLUGIN_CONTINUE is defined as 0. You should still use these return values with their corresponding module forward. |
| All times are GMT -4. The time now is 00:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.