How can I properly hook ClientPrintf forwards?
Here's a frustrated attempt:
Code:
public client_printf(client, printtype, const msg[])
{
server_print("ClientPrintf: (%d) - %s", client, msg)
return FMRES_IGNORED
}
public plugin_init()
{
register_forward(FM_ClientPrintf, "client_printf")
}
Registered function is not even called; using amxmodx 1.76d