Code:
#include <amxmodx>
#include <fakemeta>
public plugin_init()
register_forward(FM_CmdStart, "HookReload");
public HookReload(ClientID, UC_Handle)
{
if (!is_user_alive(ClientID))
return;
static Button;
Button = get_uc(UC_Handle, Buttons);
if (Button & IN_RELOAD)
{
// Client used +reload command
// If you want to block it, use this
Button &= ~IN_RELOAD;
}
// This will block it
set_uc(UC_Handle, UC_Buttons, Button);
return FMRES_SUPERCEDE;
}
__________________