Quote:
Originally Posted by proffs
Get this
Warning: Function "eDeath" should return a value on line 979
3,4 times
|
So, what are the
errors that are preventing you from compiling your plugin?
To get rid of
warnings like that, you need to make sure that if you return a value anywhere in your function that you also return a value in every possible situation in that function.
If it is simply a death message that you are hooking, you don't need to return anything (i.e. you don't return PLUGIN_CONTINUE or PLUGIN_HANDLED) because the return value does nothing. Simply use "return".
__________________