Two wrong plugins: not giving anything and not doing anything
Hey. So I got two wrong plugins. One of them was supposed to give a deagle. The other one was supposed to restart the server at /restart and set the server to knife-only on /lame. Well... I checked the code a thousand times and I still find it perfectly ok. So... what on Earth's wrong?
Here's the warmup one:
Spoiler
And here's the deagle one:
Spoiler
These are both compilable, but not doing their job. Please help! |
Re: Two wrong plugins: not giving anything and not doing anything
For the deagle one:
if(contain(name, req_tag)) :arrow: if(contain(name, req_tag) != -1) As said here |
Re: Two wrong plugins: not giving anything and not doing anything
Quote:
EDIT: With that code modification, it still doesn't do it's job. Also made the code edit in the first post. |
Re: Two wrong plugins: not giving anything and not doing anything
Both of them work fine for me. Are you running any other plugins that have anything to do with chat? Such as iChat?
Also, you have registered the command /start, not /restart. |
Re: Two wrong plugins: not giving anything and not doing anything
Quote:
Apparently, I mentioned /restart in the first post, altought I meant /start. |
Re: Two wrong plugins: not giving anything and not doing anything
Quote:
|
Re: Two wrong plugins: not giving anything and not doing anything
Wow, that didn't cross my mind. Apparently, it's not running. Here's the error:
( 23) Load fails: Load error 17 (invalid file format or version) (plugin "ecila_tag_deagle.amxx") |
Re: Two wrong plugins: not giving anything and not doing anything
Try recompiling it.
|
Re: Two wrong plugins: not giving anything and not doing anything
Yeah, found the problem. My compiler is 1.8.3, but my testing server's running 1.8.1. I compiled the plugins using the separate compiler. Now that I compiled them with the server's addons-included compiler, it works just fine.
Thank you! :) |
| All times are GMT -4. The time now is 12:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.