PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN ""
#define VERSION ""
#define AUTHOR ""
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /allow", "cmd1");
register_clcmd("say /notallow", "cmd1");
}
public cmd1()
register_forward(FM_ClientUserInfoChanged, "fwClientUserInfoChanged");
public cmd2()
unregister_forward(FM_ClientUserInfoChanged,register_forward(FM_ClientUserInfoChanged, "fwClientUserInfoChanged"));
This is not working...I mean, the unregister part.