;(
This don't work.
I write it:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
public plugin_init()
{
register_plugin("name", "1.0", "author");
RegisterHam(Ham_Killed, "func_breakable", "Ham_destroy");
}
public Ham_destroy(item, destroyer, shouldgib)
{
new destroyerName[32];
get_user_name(destroyer, destroyerName, sizeof(destroyerName)-1);
client_print(0, print_chat, "*** %s destroy item ID: %d",destroyerName, item);
}
and it never print any message when I destroy footbridge or window or etc.