unknown command in console
Hello,
I have a big plug in that I am trying to figure out and when I use one of the commands in it I get 'unknown command X' in console. I've looked through the spaghetti code and I don't see anything obvious, so that kind of begs the question - How and why does this message occur? maybe knowing that will get me down the correct path. tia |
Re: unknown command in console
Easiest way for us to do it for you is to post the code.
Otherwise, either the command really doesn't exist or the command does not return PLUGIN_HANDLED. |
Re: unknown command in console
Hi,
thanks for your reply. It doesnt return PLUGIN_HANDLED it returns PLUGIN_CONTINUE Would that cause the problem? |
Re: unknown command in console
Return PLUGIN_HANDLED, so.
|
Re: unknown command in console
Quote:
|
Re: unknown command in console
Thanks for the replies guys, I will test this out.
Is there a good place to read up on what the return values mean and when to use which ? |
Re: unknown command in console
That would be the funcwiki: http://www.amxmodx.org/funcwiki.php?...1#const_return
Remember Fakemeta and Ham Sandwich also have specific return values for their functions (forwards, callbacks, etc). |
| All times are GMT -4. The time now is 22:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.