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
PHP Code:
#include <amxmodx> #include <amxmisc>
#pragma semicolon 1
#define ACCESS ADMIN_KICK
new PLUG[] = "Ecila warmup"; new VERS[] = "1.0"; new AUTH[] = "EpicKiller";
new bool:WarmUp;
public plugin_init() { register_plugin(PLUG, VERS, AUTH);
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.
No, I really don't run anything on the server I tested them on. It's a default addons.
Apparently, I mentioned /restart in the first post, altought I meant /start.
No, I really don't run anything on the server I tested them on. It's a default addons.
Apparently, I mentioned /restart in the first post, altought I meant /start.
Does anything show up in logs? Are you sure they are running? (You can check by amx_plugins)
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")
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.