If you want to hook reload, you can detect reload button with fakemeta like this:
PHP Code:
#define XO_PLAYER 5
#define m_afButtonPressed 246
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
public client_PreThink(id)
{
new iButtonPressed, iButtonReleased;
iButtonPressed = get_pdata_int(id, m_afButtonPressed, XO_PLAYER);
if (iButtonPressed & IN_RELOAD)
{
//do something here;
}
}
__________________