I cant make the register_forward(FM_SetKeyValue,..) to work; it seems to not catch the SetKeyValue() function. Am I missing something?
I have this:
Code:
public plugin_precache() {
register_forward(FM_SetKeyValue, "Hook_SetKeyValue")
...
}
public Hook_SetKeyValue(infobuffer[], key[], value[]) {
new fmt[256]
formatex(fmt, 255, "infobuffer ='%s', key = '%s', value = '%s'", infobuffer, key, value)
log_amx(fmt)
return FMRES_IGNORED
}
I got no logging at all..
Thx