I have a little problem.
I used FM_Use but it doesn't seems to work.
here's my code so far:
Code:
#include <amxmodx>
#include <fakemeta>
#include <engine>
#include <amxmisc>
public plugin_init() {
register_plugin("abc", "0.1", "abc")
register_forward(FM_Use, "forward_use")
}
public forward_use(user, used) {
if ((user > 0) && (used > 0)) {
client_print(0, print_chat, "A button has been used")
}
return FMRES_IGNORED
}
the variables user and used I need for later use.
can somebody tell me what I made wrong?
Edit: other fakemeta forwards are working well