Include file is preventing plugin from functioning.
Greetings ladies and gents,
I have an include file to my plugin that, when I include it, renders my plugin useless (typing amx_plugins makes the plugin look like "unknown unknown unknown nwc.amxx bad_load"). Can anyone spot the problem? PHP Code:
PHP Code:
|
Re: Include file is preventing plugin from functioning.
What is the message for the bad load?
|
Re: Include file is preventing plugin from functioning.
I'm not getting any sort of message. I threw it in Debug and I got nothing.
I took it out of debug, and now it says it's running but it still lacks the plugin information. Code:
Code:
] rcon meta listCode:
] rcon amxx modulesCode:
//#pragma tabsize 0 |
Re: Include file is preventing plugin from functioning.
unknown is displayed when a plugin doesn't user register_plugin
So, what exactly is the problem? |
Re: Include file is preventing plugin from functioning.
If you check out the nwc.sma, you can see that I've used regster_plugin under plugin_init().
|
Re: Include file is preventing plugin from functioning.
Yes, it is in the code that you have showed us, but that may not be identical to what is on the server.
Again, what exactly is the problem? |
Re: Include file is preventing plugin from functioning.
The information with the plugin is not registered. Aside from that, a few things I did to test the functionality of the plugin (you can see the client_print in event_spawn) also do not work (which may be related to the unknown status?).
The information displayed here is precisely what's on the server, unless something changes when you compile the .sma and the includes. |
Re: Include file is preventing plugin from functioning.
Attache the .sma file and the .inc file (as attachements).
|
Re: Include file is preventing plugin from functioning.
2 Attachment(s)
|
Re: Include file is preventing plugin from functioning.
That seems to be the wrong include.
|
| All times are GMT -4. The time now is 21:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.