public plugin_init() { register_forward(FM_CmdStart, "fw_CmdStart"); } public fw_CmdStart(id, uc_handle, seed) { if ((pev(id, pev_button) & IN_RELOAD)) { // code... } }